D
David Wetmore
I have a link table where the field containing the parent key is named "PKEY".
In the parent table the key is named "KEY".
I wish to build a query to construct a recordset where the have the PKEY value
in a field named "KEY"
This statement works fine:
SELECT PKey FROM tblJoin WHERE (((tblJoin.CKey)=59))
This one does not:
SELECT PKey AS Key FROM tblJoin WHERE (((tblJoin.CKey)=59))
How can I get values from the join table PKEY field into a field named KEY?
I could go back and rename the join table field, but I would like an easier way, if possible.
Thanks, Dave
In the parent table the key is named "KEY".
I wish to build a query to construct a recordset where the have the PKEY value
in a field named "KEY"
This statement works fine:
SELECT PKey FROM tblJoin WHERE (((tblJoin.CKey)=59))
This one does not:
SELECT PKey AS Key FROM tblJoin WHERE (((tblJoin.CKey)=59))
How can I get values from the join table PKEY field into a field named KEY?
I could go back and rename the join table field, but I would like an easier way, if possible.
Thanks, Dave