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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start up on blank record 2

Status
Not open for further replies.

MPH03

MIS
Oct 18, 2003
13
US
When I open my data entry screen, the last record automatically displays. How do I get it to open on a blank record when data entry screen is displayed.
Thanks much !
~mph03
 
Set the form's Data Entry property to YES. Then, you can ONLY add records. You'll need a separate form for editing, with that set to NO for data entry.

Jim DeGeorge [wavey]
 
on the "On load" event for the form, put this code in as the [Even Procedure]:

DoCmd.GoToRecord , "", acNewRec


I Hate Spammers and Flammers!!!
 
That's even better. Let's you use the same for for both adding and editing. Nice one. Enjoy the star.

Jim DeGeorge [wavey]
 
Thanks !! that worked.....thanks you soooo much !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top