A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Form creates unwanted record



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2007, 03:35 PM posted to microsoft.public.access.forms
- Butch
external usenet poster
 
Posts: 3
Default Form creates unwanted record

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



  #2  
Old March 24th, 2007, 05:17 PM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Form creates unwanted record

On Sat, 24 Mar 2007 10:35:16 -0500, "- Butch" wrote:

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]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.