TField origin is often blank

Giganews Newsgroups
Subject:TField origin is often blank
Posted by: Stephen Branley
Date:Fri, 28 Nov 2008

Hi,

I need to find which table a field has come from, but using TADOQuery.fields[i].origin doesn't always work. Quite often if a table alias was used in the query then origin just returns blank. I have too many queries to go through and edit them all to never use aliases!

Does anyone have any ideas about how I can find out which table a particular field has come from?

Thanks

Replies