I'm a newbie and I'm trying to do something that is most likely way over my head. But here goes.
I have two queries that I am trying to join into one with one field being concatenated together. I read the FAQ and created the module as suggested, compiled and saved. Now, when I run the query I get that their is an ambiguous expression in the query which prevents it from working. The statement for the concatenated portion is below:
JoinedReg1: Concatenate("SELECT CertificationTitle & Chr(58) & Space(2) & StateIssued & Space(1) & Chr(40) & Chr(35) & RegNumber & Chr(44) & Space(1) & 'expires' & Space(1) & RegExpires & Chr(41) & Space(2) & FirstIssued FROM qryEngRegistrationsWTitle WHERE Emp_No=" & [Emp_No])
It was working great yesterday, I didn't change anything, my system locked up today due to a power surge (always happens) and now it won't work at all. And yes, we have surge protectors - they are just so strong they get through everything when they happen.
I just keep getting the ambiguous name in query expression error.
Any help would be appreciated.
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
"One of the secrets of life is to make stepping stones out of stumbling blocks." Jack Penn
I have two queries that I am trying to join into one with one field being concatenated together. I read the FAQ and created the module as suggested, compiled and saved. Now, when I run the query I get that their is an ambiguous expression in the query which prevents it from working. The statement for the concatenated portion is below:
JoinedReg1: Concatenate("SELECT CertificationTitle & Chr(58) & Space(2) & StateIssued & Space(1) & Chr(40) & Chr(35) & RegNumber & Chr(44) & Space(1) & 'expires' & Space(1) & RegExpires & Chr(41) & Space(2) & FirstIssued FROM qryEngRegistrationsWTitle WHERE Emp_No=" & [Emp_No])
It was working great yesterday, I didn't change anything, my system locked up today due to a power surge (always happens) and now it won't work at all. And yes, we have surge protectors - they are just so strong they get through everything when they happen.
I just keep getting the ambiguous name in query expression error.
Any help would be appreciated.
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
"One of the secrets of life is to make stepping stones out of stumbling blocks." Jack Penn