Form creates unwanted record

  • Thread starter Thread starter - Butch
  • Start date Start date
B

- Butch

I have a form for a database whereby I can insert criteria and then, by
clicking a "Preview Report" button I can retrieve the information I'm
seeking. The problem is that every time I ask for a report the process also
creates a new record that contains only the information I input into the
form. Somewhere I have an erroneous setting but I can't find where it is.



Thanks in advance for any help.

Butch
 
I have a form for a database whereby I can insert criteria and then, by
clicking a "Preview Report" button I can retrieve the information I'm
seeking. The problem is that every time I ask for a report the process also
creates a new record that contains only the information I input into the
form. Somewhere I have an erroneous setting but I can't find where it is.

The Form should be UNBOUND - i.e. it should have nothing in its recordsource.
If you're just using to enter criteria for a search, you don't want those
criteria stored anywhere; using a bound form will store them in the table to
which the form is bound.

Just view the form's Properties and blank out the Recordsource property.

John W. Vinson [MVP]
 

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

Back
Top