Subject | Re: [IBO] TIB_Column::FullFieldName |
---|---|
Author | Jason Wharton |
Post date | 2002-05-02T16:35:15Z |
> So what should be returned in the cases of:TBL.FIELD
> Select TBL.FIELD from TBL;
> 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 .missing
>
> I cannot find reference to an Origin property for TIB_Column. Am I
> 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