Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing a form on startup 1

Status
Not open for further replies.

acarr2032

Programmer
Oct 4, 2004
18
0
0
US
I have a form, that when you start it up, it show the record from the previouse use. Is there an easy way to clear those fields when you either click save, exit or when startup the form again?
 
To "clear a form", to me, means deleting the contents (the record), I assume you're after "getting to a new one";-)

Two different methods:
1 - form properties, data entry - set to yes
2 - in the forms on load event:

[tt]docmd.gotorecord,,acnewrec[/tt]

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top