simple form question

  • Thread starter Thread starter jjsaw5 via AccessMonster.com
  • Start date Start date
J

jjsaw5 via AccessMonster.com

Is there a property that i can set on a text box that every time I open a
form the text box will be empty?
 
No property, but put code in the form's Load event to set it to blank:

Private Sub Form_Load()

Me!MyTextBox = Null

End Sub
 
If this is a bound control on a bound form, you will replace the value of the
field bound to the control with Null which will will cause a loss of data.
 

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