Subject RE: [IBO] Customizing TIB_Grid (2)
Author Thomas Steinmaurer
Nice solution! But now I would like to distinguish between empty strings and
NULL values. Is OnGetDisplayText the right event to do this?

Thomas

> -----Original Message-----
> From: Tobias Giesen [mailto:tobias_subscriber@...]
> Sent: Tuesday, August 14, 2001 3:31 PM
> To: IBObjects@yahoogroups.com
> Subject: RE: [IBO] Customizing TIB_Grid (2)
>
>
> Hi!
>
> your GetDisplayText function MUST start equivalent to this:
>
> begin
> if AString<>'' then
> Exit;
>
> That way, all fields with values will be always correct! All you
> have to do
> now is tell empty fields from null fields. If this is always
> identical, i.e.
> empty string = NULL, then your whole function would be:
>
> begin
> if AString='' then
> AString:='<null>';
> end;
>
> Cheers,
> Tobias
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>