Hello,
I am trying to write items added by a user to a combo box to a database, and I am getting an error doing this. The code is as shown below:
Code:Dim Qstn As Database ' Modify this line to include the path to Northwind ' on your computer. Set Qstn = OpenDatabase(App.Path & "\RotorData.mdb") ' Delete employee records where title is Trainee. Qstn.Execute "Insert into Questions(Question) Values(Combo1.Text)" Qstn.Close
Getting the following error:
RunTime Error: '3061'
Too few parameters Expected 1
Help??


Reply With Quote


Bookmarks