Subject Re: [IBO] get dataset from title click on TIB_Ledger
Author Woody (TMW)
>
>
> I am trying to get the dataset of the field that caused the
> OnClickTitle event since I want multiple grids to use the same event
> so I can "Locate" on the field.
>
> I can't tell how to get this information from the "Cell" in the
> event.
>
> I am looking for something like:
>
> Cell.Dataset.Locate( Cell.FieldName, VarArrayOf( [ ??? ] ), [ ] );
>
> Can someone advise?

How about getting the parent of the cell, which should be a TIB_Ledger and
getting it's datasource property? I haven't tried this but you should be
able to do that.

Woody (TMW)