Re: Why does my parameter query repeat?
From: John Viescas (JohnV_at_nomail.please)
Date: 03/15/04
- Next message: Anthony Viscomi: "Trying to use Year as a variable"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Current Month and Previous Month"
- In reply to: gsmith4000_at_yahoo.com: "Why does my parameter query repeat?"
- Next in thread: Gary Smith: "Re: Why does my parameter query repeat?"
- Reply: Gary Smith: "Re: Why does my parameter query repeat?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 15:55:08 -0600
This behavior will happen sometimes when you use a parameter query in a
report - many reports pass through the data more than once and, therefore,
run the query more than once.
It should not happen in a query where you explicitly declare the parameters.
Choose Parameters from the Query menu or include a PARAMETERS clause at the
beginning of the SQL. It's a good idea to always declare parameters. In
some cases (e.g. a Crosstab query), the query won't run unless you declare
the parameters.
-- John Viescas, author "Microsoft Office Access 2003 Inside Out" "Running Microsoft Access 2000" "SQL Queries for Mere Mortals" http://www.viescas.com/ (Microsoft Access MVP since 1993) "gsmith4000@yahoo.com" <anonymous@discussions.microsoft.com> wrote in message news:d74a01c40ab4$7c1134f0$a401280a@phx.gbl... > Hello-- > > Why would a parameter query repeat the same parameters > twice? Two different queries are having this same problem. > It'll prompt the user for Tracking Number, then Employee. > After the user types in the values, it then prompts them > all over again. Aggravating? You bet! > > The only way I've found to "fix" this problem is to delete > the offending query and start over. > > There must be a better way... Thanks as always. > > --Gary
- Next message: Anthony Viscomi: "Trying to use Year as a variable"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Current Month and Previous Month"
- In reply to: gsmith4000_at_yahoo.com: "Why does my parameter query repeat?"
- Next in thread: Gary Smith: "Re: Why does my parameter query repeat?"
- Reply: Gary Smith: "Re: Why does my parameter query repeat?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|