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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check Boxes- how do I get them to Report a Text Value

Status
Not open for further replies.

murphysdad

Technical User
May 20, 2002
41
US
I am using Access 97 and am having a problem having the check boxes return a text value to my table. the users should be able to choose one or many different boxes and I want the checked ones to report text to one field(have that one feild accept one or many peices of text(?)).

Also,
After they hit the submit button, how do I get these check boxes to clear?

JJ

"Smile and the world smiles with you, sneeze and it's good- bye Chicago" - Steve Martin, Roxanne.
 
How about something like this...
Code:
If chk1 = 1 Then
docmd.setwarnings false  'stops the annoying update warning
docmd.runsql "UPDATE TableName Set Field = "text"  WHERE Field2 = criteria;"
docmd.setwarnings true
chk1 = 0
End If
hope this helps
 
For the SQL statement should there be a comma after "update tablename"? Also, what is "field2" refering to?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top