to few parameters

A

Andy G

I know everyone loves this error. Here is what I'm trying to set:

mySQL =
"SELECT CONTACT_Contact_ID, CONTACT_FirstName, CONTACT_LastName,
CONTACT_City1, CONTACT_State1, CONTACT_Phone1, CONTACT_Phone1_Type,
CONTACT_Email1, CONTACT_LastUpdated
FROM tblCONTACT
WHERE CONTACT_Contact_ID = '" & tempID & "'"

Set rsTemp = CurrentDb().OpenRecordset(mySQL, dbOpenDynaset)

I know it has something to do with the tempID part but I never can get my
single and double quotes right!

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top