Setting input boxes to null

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

When I display my form some boxes display with the data
entered last time. How do I ensure that they are blank?
 
if your form is bound to a table, query or SQL statement, then normally it
will show the first record when you open it. if you want to always open to a
blank "new" record, either set the form's DataEntry property to Yes, or add
an event procedure to the form's OnOpen event, as

Private Sub Form_Open(Cancel As Integer)

DoCmd.RunCommand acCmdRecordsGoToNew

End Sub

hth
 
Back
Top