Hi all, this is from the is there a way file. Is there a way to get the name of the relation or relations in a query from within the query? Like some kind of magic variable...? for example : "select *, <some_magic_variable> from thistable" where <some_magic_variable> would be replaced by thistable. Rhys Peace & Love|Live Long & Prosper