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

OnOpen Event Procedure-Form that populates a table 1

Status
Not open for further replies.

jbodford

Technical User
Sep 25, 2003
13
0
0
US
Hi,
Can anyone suggest how I would write an Event Procedure for a Form that is used to gather data that populates a table?
I want to open the form with a blank screen, rather than Record# 1. The form should open as though I want to add a new record. I am not sure what the code should be, but am thinking it should be done as an OnOpen event. The purpose is that a blank screen would tend to safeguard against someone entering data thinking it is for a new record, but really they would be altering the 1st record's data.

All help is greatly appreciated,
jbodford
 
Simply set the DataEntry property of your form to True

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Gee, Thanks!!!! yduck...
That was too simple. Guess I tended to make it too complicated.

Thanks also for such a fast response.
jbodford
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top