handlebarry
Technical User
Hi there - I have a SQL statement wich is giving the error message:
Syntax error (comma) in query expression '(GIS_Property_code, Property_Address)'
Statement:
DoCmd.RunSQL "INSERT INTO tblContractsToProperties (GIS_Property_code, Property_Address) SELECT (GIS_Property_Code, Property_Address) FROM tblproperties WHERE tblproperties.check = True"
before I added the extra field Property_Address this was working fine
Can someone please advise as everywhere I check this seems to be the correct method
PS first field is a number second is text
Syntax error (comma) in query expression '(GIS_Property_code, Property_Address)'
Statement:
DoCmd.RunSQL "INSERT INTO tblContractsToProperties (GIS_Property_code, Property_Address) SELECT (GIS_Property_Code, Property_Address) FROM tblproperties WHERE tblproperties.check = True"
before I added the extra field Property_Address this was working fine
Can someone please advise as everywhere I check this seems to be the correct method
PS first field is a number second is text