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

opening a form with blank fields

Status
Not open for further replies.

dumdum2

Programmer
Mar 18, 2000
98
GB
I have a form that I would like to have blank fields when it is opened. Its record source is a table and I have a button on the form that is used to lookup data that is then added to the table via the button. But right now, the form opens and displays the 1st record in the record source table.

What's the best way to do this?

Thanks-
 
Set the DataEntry property to True.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Have you tried goto new record?

Ian Mayor (UK)
Program Error
Programming is 1% coding, 50% error checking and 49% sweat as your application bombs out in front of the client.
 
or in code:
Code:
[blue]   Me.DataEntry = True[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top