I'll echo M. Gueterman's comments about the enhancement status. This is
another
of many, many annoying problems with the Allbase Language and optimizer.
The best work around is to create an ALLBASE view, where you can explicitly
name columns that name expressions, and then use that view from the client
application. This also give you the advantage of using a GENPLAN on the view
to achieve optimal performance.
Gary L. Biggs, N5TTO
[log in to unmask]
Interex SIG Allbase Chair
"Abandon all hope, Ye who Inter(net) here" --
Dante, over the portal(router) to Hell