Subject | RE: [IBO] Column ordering |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-03-24T10:14:59Z |
Hi,
field number as it is in the SQL, regardless of any ordering you may
have specified in TIB_Query.FieldsIndex.
Grtz,
Paul
> You can get the actual grid column order using the TIB_Grid'sTo be more precise: TIB_Column.FieldNo *always* returns the 0-based
> GridFields prop. Iterate the GridFields from 0 thru GridFieldCount-1
> and you get the TIB_Column references. From there you can get
> FieldName, DisplayLabel, FieldNo (0-based field number in the query,
> not necessarily in the grid), etc. etc.
field number as it is in the SQL, regardless of any ordering you may
have specified in TIB_Query.FieldsIndex.
Grtz,
Paul