|
-
Apr 4th, 2001, 08:27 AM
#1
Thread Starter
New Member
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)
Last edited by robbmann22; Apr 4th, 2001 at 08:30 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|