Subject Re: [IBO] Searching and column aliases
Author Geoff Worboys
> Because column aliases is easier to use, and I don't have to set the
> FieldsDisplayLabel property everytime the query changes?

> Besides, my query returns values from two fields which have the same
> name, so I need to use column aliases anyway to distinguish them.

Obviously its your choice but neither of these reasons make a whole
lot of sense to me...

eg. When looping through the fields adding aliases, just add the
values to the the FieldsDisplayLabel instead.

All the Fields* properties support table.field_name=xxxx format so
that they can resolve such issues.


Avoiding aliases avoids the issue of aliases not working for sql
manipulations, plus various support is integrated into IBO
specifically for the labels.


--
Geoff Worboys
Telesis Computing