Clear form contents on load

NitherWise

New Member
Joined
Nov 3, 2002
Messages
36
Can anyone tell me if there is a way to clear the contents of a form when it loads?

Thanks

:oops:
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Forms should be 'clear' on loadup unless they're based/populated by the contents of a table/query.

A Delete query (if it's that simple and safe to delete the 'old' data) is a good bet.
 
Upvote 0
What is your goal? If you want to enter a new record when the form opens, you can set the Form's Data Entry property to Yes.
 
Upvote 0
I am using a combo box in the form header to filter the records. However when I go from design view to form view, the records from the last selection are present even though the combo box is empty.

I want to make sure that the fields are clear whenever the form is active.

Thanks for your help.
 
Upvote 0

Forum statistics

Threads
1,221,544
Messages
6,160,431
Members
451,646
Latest member
mmix803

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top