Can any one tell me the proper syntax for the Statement below:
strSQL = "SELECT * FROM [Work Type SubCategory] WHERE [Work Type Category ID]= strCategoryID"
strSQL is Text
Work Type SubCategory is a Table
Work Type Category ID is field in above table
strCategory is Long ( this gets passed from another procedure)
When I try to run I get Error Message:
Too few parameters. Expected 1
Thanks
strSQL = "SELECT * FROM [Work Type SubCategory] WHERE [Work Type Category ID]= strCategoryID"
strSQL is Text
Work Type SubCategory is a Table
Work Type Category ID is field in above table
strCategory is Long ( this gets passed from another procedure)
When I try to run I get Error Message:
Too few parameters. Expected 1
Thanks