Subject | Re: [IBO] lookupvalues in ib_grid |
---|---|
Author | Kjeld Loozen |
Post date | 2001-01-14T15:15:03Z |
Hi!
Thanx, that worked!
Before posting the question I already tried this solution, but I used a
parametered query in the calcfields method to find the matching lookupvalue.
That resutelted in a messed up grid when scrolling and incorrect lookup
values.
But using the lookup function gets everything right.
Thanx!
Kjeld
Thanx, that worked!
Before posting the question I already tried this solution, but I used a
parametered query in the calcfields method to find the matching lookupvalue.
That resutelted in a messed up grid when scrolling and incorrect lookup
values.
But using the lookup function gets everything right.
Thanx!
Kjeld
> Maybe, what I think you will need to do is use a CalculatedFields entryand
> then use a Lookup() call in another dataset to supply the values. Thiswill
> be slightly slower but it should be well within acceptable range because
> calculated fields are buffered and rather efficient about only recalcing
> when necessary.
>
> Let us know how it goes for you.
>
> PS. Be sure to use the ARow.ByName() and not FieldByName() in the OnCalc
> event.
>