Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql update command, will not take use t text box value from form

Status
Not open for further replies.

martinrobson

Programmer
Jun 2, 2003
19
0
0
GB
Hi,

I am trying to get an sql update command to take the value from a textbox and put it into a table. The syntax works if i replace the textbox name with a 1, but for some reason it cant get the value from it. The syntax is similar to:

update table set column = textbox_name1 where table.column = froms!table!textbox_name2

as i say if i replace the textbox_name1 with 1 it works fine.

Any ideas?

Thanks
 


.....where table.column = froms!table!textbox_name2

Change the last terms to
".... where table.column = " & forms!
![textbox_2] & ";"

rollie@bwsys.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top