Setting the value of controls in a form to null

  • Thread starter Thread starter Geo
  • Start date Start date
G

Geo

In a form, in an MS Access 2002XP form (having as record source a table)
with:
-6 combo boxes with values selected from a query (ex: For cboBox1 record
souce is the field NAME from the table, Row Source Type "Table/Query", Row
source like "SELECT DISTINCT Query1.NAME FROM Query1")
-1 from a table
-4 text boxes with values I will introduce,
how can I, after saving the data in a table, set to null the combo boxes,
for having all the controls blank for introducing the next record in the
table?
Thank you!
Geo
 
All you need to do is set the control to Null:

Me.cboBox1 = Null
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top