Subject Re: [IBO] TIB_Column::FullFieldName
Author Jason Wharton
> So what should be returned in the cases of:
> Select TBL.FIELD from TBL;

TBL.FIELD

> Select TBL.FIELD AS ALIAS from TBL;

ALIAS

and not

TBL.ALIAS

However, RelName would be TBL and SQLName would be FIELD.
Thus, if you take RelName + '.' + SQLName you would have the Origin name.

> > The Origin property is what will give you what you are looking for .
>
> I cannot find reference to an Origin property for TIB_Column. Am I
missing
> something?

Oops. Origin is a TField thing only. In IBO it is split between RelName and
SQLName properties. Just concatenate as indicated above. I suppose I could
add that property to TIB_Column too...

Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com