Subject Re: Go ahead and laugh, SQL gurus
Author Adam
--- In firebird-support@yahoogroups.com, "Clay Shannon"
<cshannon@d...> wrote:
> << If I were you, I would perform translation on client side, in
> application. It is very easy with something like this:
>
> ComboBox1.ItemIndex :=
> DataSet.FieldByName('COMPENSATION').AsInteger;>>
>
> Right, but I want to show the data in a DBGrid (CDS grid, to be more
> precise), and I want the "English" values to show, not simply the
integers.
>
> Clay Shannon,
> Dimension 4 Software

Clay,

Maybe a bit OT, but I am pretty sure you get an "OnGetText" event to
play with and format.

Adam