Subject Re: [IBO] Table name from IBOQuery
Author skotaylor
--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...> wrote:
> > I'm using Delphi 5 and IBObjects. Is there a way to get the table
> > name used in the SQL from TIBOQuery?
>
> There is a way to do this but I think you have to hack down into the
> InternalDataset.
>
> Something like this:
>
> MyIBOQuery.Prepare;
> MyIBOQuery.InternalDataset.Fields.Relations[ n:integer ]
>
> Let me know if that does the trick.

.InternalDataset.Fields.RelationNames[ n:integer ]

that did it. Thanks.