I am beginning to think what I want to do is impossible...
I have made a few modifications, but I wont bore you with the query again. I don't think there is anything structurally wrong with the query. The problem is in what I want to accomplish with it.
For example: In the following Q of Qs how would I reference the #Name# feild? #CombinedQuery.WHAT?#
<cfquery datasource="DataName1" name="QueryName1">
SELECT Table1.Name as Name1, Table1.Email as Email1
FROM Table1
ORDER BY Table1.Name ASC
</cfquery>
<cfquery datasource="DataName2" name="QueryName2">
SELECT Table2.Name as Name2, Table2.Email as Email2
FROM Table2
ORDER BY Table2.Name ASC
</cfquery>
<cfquery dbtype="query" name="CombinedQuery">
SELECT QueryName1.Name1, QueryName1.Email1, QueryName2.Name2,
QueryName2.Email2
FROM QueryName1,QueryName2
</cfquery>
Am I asking for the moon?
Kristine