Subject | Re: [IBO] Still having problems with OnCalculateField |
---|---|
Author | Stuart Hunt |
Post date | 2004-01-15T11:16:36Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
it was the only scenario that really made sense. Presumably this
means that the previous behaviour was a bug :-) Oh well, at least
trimming fields isn't exactly difficult - and I guess i'll use
VARCHAR fields in future.
Thanks for your help,
Stuart Hunt
> At 10:18 AM 15/01/2004 +0000, you wrote:This is
>
> > No, not necessary, I think I understand what's the issue here.
> happening because the event is reading the raw SQL data from eachRow
> object as it crosses the threshold. IOW, it might be happeningbefore the
> field-level trimming for the datalink. (Trimming doesn't alter thestored
> data, only the displayed data). I think you'll need to useTrimRight.
>all -
> Personally, I wouldn't generally use a calculated field for this at
> I'd get it as a run-time column in the SQL.nulls in
>
> SELECT
> ....
> FORENAME||' '||SURNAME AS FULLNAME,
> ...
> But using a calc field might be useful if you know you have some
> those columns...and they do have the benefit that you can callThanks Helen. i'd started thinking this might be the case myself as
> CalculateFields to update them in the buffer...
>
> H.
it was the only scenario that really made sense. Presumably this
means that the previous behaviour was a bug :-) Oh well, at least
trimming fields isn't exactly difficult - and I guess i'll use
VARCHAR fields in future.
Thanks for your help,
Stuart Hunt