Subject | Re: [ib-support] Re: Execute stored procedure in select query |
---|---|
Author | Arno Brinkman |
Post date | 2003-03-09T19:08:44Z |
Hi,
use delphi you could use the "TField.OnGetText" event !
btw: Firebird 1.5 (which is currently in beta) will have this CASE function.
Regards,
Arno Brinkman
> The form that I'm using in Delphi can you see here:Using UDF or Stored Procedure, but maybe better on the client site. If you
>
> http://www.famstuij.dyndns.org:1026/images/zoeken.jpg
>
> The left edit box is the place where the user can write the text
> where he is looking for.
>
> The right combobox is the place where the user tells the system where
> it must search.
>
> Normally in SQL you can do the next thing:
>
> SELECT ARTIKELID, CASE MULTIPACK WHEN 'Y' THEN 'YES' ELSE 'NO' END
> FROM ....
>
> So my only question is how could I do this in Interbase?
use delphi you could use the "TField.OnGetText" event !
btw: Firebird 1.5 (which is currently in beta) will have this CASE function.
> I know there are some other possibilities, for example showingI would do it also on the client site.
> radiobuttons. But that is something what I do NOT want.
Regards,
Arno Brinkman