S
Steven Scaife
How do you create a recordset inside a form
I have
dim rs as recordset
strSQL = "SELECT Time_Of_Appointment FROM Appointment WHERE Agent_ID = " &
Agent_ID.Value
Set rs = DoCmd.RunSQL(strSQL)
but it errors saying expected function or variable.
I am used to doing this in ASP but cant figure out why in access.
any help would be much appreciated
I have
dim rs as recordset
strSQL = "SELECT Time_Of_Appointment FROM Appointment WHERE Agent_ID = " &
Agent_ID.Value
Set rs = DoCmd.RunSQL(strSQL)
but it errors saying expected function or variable.
I am used to doing this in ASP but cant figure out why in access.
any help would be much appreciated