Link to home
Start Free TrialLog in
Avatar of movieguy
movieguy

asked on

INSERT INTO: sql and database question

I want to add user entered data to a database.
db begin my database I am trying to insert values into the database that the user enters in Text1.Text and Text2.Text

db.Execute "INSERT INTO Options ([JobCode],[JobCodeDescription]) VALUES (Text1.Text,Text2.Text)"

The above doesn't work.  How can I get it to work for me.
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial