Clear Records

  • Thread starter Thread starter Guest
  • Start date Start date
You want to remove the records from a form, without deleting them from a
table?

You could do that by setting the form's DataEntry property to Yes, or by
opening it in add mode:
DoCmd.OpenForm "Form1", DataMode:=acFormAdd

Another alternative would be to use a filter that evaluates to False for all
records, e.g.:
Me.Filter = "(False)"
Me.FilterOn = True

Or perhaps you just need to move to the new record:
RunCommand acCmdRecordsGoToNew
 
Thank you very much your answer was very simple & to the point, Sir I have
two more questions with subjects "Report Criteria" & "Sub Form" Please if you
could give me the answer of these questions thanks once again.
 
Each person selects the questions they think they can answer well, so
hopefully you will get good replies to your other questions too.
 

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