J
Joe
Hi All,
I know there are a number of posts out here regarding this error and I
have read a # of them but cannot seem to figure out why I am still
getting this message for my query. I have assigned a variable to for
my form parameter so am confused why it will not let me proceed.
Code below: (the variable "a" is a text value)
a = [Forms]![Contractor Conversion]![Project_Code]
Set rs = CurrentDb.OpenRecordset("SELECT [Contractor-Skill-
Project].Project_Code " & _
"FROM [Contractor-Skill-Project] " & _
"WHERE ([Contractor-Skill-Project].Project_Code)= " & a & ";")
Thanks
I know there are a number of posts out here regarding this error and I
have read a # of them but cannot seem to figure out why I am still
getting this message for my query. I have assigned a variable to for
my form parameter so am confused why it will not let me proceed.
Code below: (the variable "a" is a text value)
a = [Forms]![Contractor Conversion]![Project_Code]
Set rs = CurrentDb.OpenRecordset("SELECT [Contractor-Skill-
Project].Project_Code " & _
"FROM [Contractor-Skill-Project] " & _
"WHERE ([Contractor-Skill-Project].Project_Code)= " & a & ";")
Thanks