simple form question

  • Thread starter jjsaw5 via AccessMonster.com
  • 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?
 
D

Douglas J. Steele

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
 
K

Klatuu

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.
 
Top