Open blank form

Mahira

Registered User.
Local time
Today, 10:11
Joined
May 3, 2007
Messages
12
Hello,

I know I've read the code for this somewhere before, but I can't seem to find it. I'm using a switchboard to open a form, and I want it to open with no records showing. Please help!
 
No *existing* records as in DataEntry = YES? Or no records *period* as in the RecordSource has been left blank?
 
Rural Guy,

I have 2 forms that users will either use to update their information or on input new information. When the click their form on the switchboard, I don't want any records displayed. Then they can either use the find button or input. Am I making sense?
 
...Then they can either use the find button or input. Am I making sense?
I think so. Have your form set with DataEntry = YES on the data tab of the property sheet. Then set DataEntry = NO in the Enter or GotFocus event of the search ComboBox. You will still need some way to get back to DataEntry = YES in case the user made a mistake by searching. Maybe a "New Entry" button?
 
Thanks Rural Guy!!!

When they click submit, it will close the form.

Thanks again!
 

Users who are viewing this thread

Back
Top Bottom