Switchboard edit form

G

Guest

We have created a form in Access that we allow edits to the data. In the switchboard, the command is " open form in edit mode. Also, we have created two buttons to look up data on this form.

Is there anyway to display the fields as blank when the user first enters the form, whereby they should do a look up in the table using the two buttons.

We are having issue where the last record displays and the user types over it
Thanks
 
P

Pavel Romashkin

You can set the Record Source for the form to something like

SELECT * FROM MyDataSource WHERE False

and then replace it in the code from the two buttons with

SELECT * FROM MyDataSource WHERE True

This will basically put nothing into the form until the user uses the buttons.

Pavel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top