Guest_imported
New member
- Jan 1, 1970
- 0
Hi there,
I was wondering if anyone could tell me how I use a variable for an SQL statement in a recordset component. I have a variable, StrID (Holds a number), that I want to be able to use in the statement "select * from items where id= StrID". I am using an access database and cannot get the ? parameter query to work.
Thanks in advance
Rob
I was wondering if anyone could tell me how I use a variable for an SQL statement in a recordset component. I have a variable, StrID (Holds a number), that I want to be able to use in the statement "select * from items where id= StrID". I am using an access database and cannot get the ? parameter query to work.
Thanks in advance
Rob