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!

want blank fields when form is first opened

Status
Not open for further replies.

atadbitslow

Programmer
Feb 26, 2001
301
US
I have a form that has a query for the recordsource. This form has a combo box that the user selects a person from and the fields on the form display that person's data.

my question is--when the form is first opened, it displays the data for the first person in the recordsource--is there an easy way to have the fields be blank when the form is first opened?

thanks!
 
You could set the criteria in your query to be the value in the combo box and set the default value of the combo box to "" or null or some value that won't register a hit in the query.
Don't forget to requery on the AfterUpdate event of the combo box.
 
You could try setting the Data Entry criteria for the form to "Yes", then is will open on the next blank/empty record.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top