Since I didn't post that code, I really have no idea what was meant by that.
One possibility is that [YourNameGoesHere] will be a parameter for which
you'll be prompted to supply a value. I suspect that isn't what you want.
Another possibility is that you're supposed to replace [YourNameGoesHere]
with the name of the appropriate field in your query.
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
I'd suggested
SELECT POB.stringPlace AS POB, POR.stringPlace AS POR
FROM (TableA LEFT JOIN TableB AS POB
ON TableA.PlaceOfBirthKSlave = POB.KMaster)
LEFT JOIN TableB AS POR
ON TableA.PlaceOfRegistrationLSlave = POR.KMaster;
Does that not work for you?
Douglas,
I saved that possibility for later test in as a simple query as it
seems. I mean, the present query is much larger and I was afraid to
drown myself merging it with your proposal.
Anyway, looks like you are creating a sort of alias "POB.stringPlace
AS POB" and later assign it to a JOIN (I still do not understand the
use of parenthesis).
Having in mind that SQL code is still (at list a little bit) out of
may hand, and after checking that DLookup worked fine, I decided the
proposal in my memo for latter investigation.
I came back to this post because another expresion was absolutely
misterious for me:
exp1:"This is to certify that "& [YourNameGoesHere] & " is a really
nice
guy."
Where is the 'entrance door' for this expression in a query?
Thanks
H. Martins