Hi, how do i use the values of text boxes in queries?
I used the code below.
Code:
INSERT INTO AdviserTable ( IDNumber, LastName, FistName, FullName )
VALUES ("+txtIDAdviser.text+", '+txtLastAdviser.text+', '+txtFirstName.text+', '+txtLastAdviser.text+, +txtFirstAdviser.text')
Whenever i run the code, a form with the columns Expr1000, Expr1001, Exper1002, Exper2003 containing the values +txtIDAdviser.text, +txtLastAdviser.text+, '+txtFirstName.text+' , and '+txtLastAdviser.text+, +txtFirstAdviser.text appears. What's wrong with my code?