Using Visual Basic 6.0 with DAO
I have the value of text box stored in variable sID which is passed to the function using this select statement. This variable is an integer, and id is generated as an AutoNumber in Access. Something missing but I can't see what. I have "Too few parmeters, expected 1", message.
Set myrecordset = table.OpenRecordset("SELECT * FROM table WHERE id = sID", dbOpenDynaset)
