Re: Query prompts twice for same parameters
From: Duane Hookom (duanehookom_at_NO_SPAMhotmail.com)
Date: 03/21/05
- Next message: Rick B: "Re: How to calculate # of work days inconjunction with datediff in Ac."
- Previous message: phanatix: "How to calculate # of work days inconjunction with datediff in Ac."
- In reply to: Tim: "Re: Query prompts twice for same parameters"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Mar 2005 12:50:05 -0600
Try this link http://www.fontstuff.com/access/acctut08.htm
-- Duane Hookom MS Access MVP "Tim" <Tim@discussions.microsoft.com> wrote in message news:0BAD32AB-013A-4205-ACBB-F94DDB3ECE54@microsoft.com... >I am not very familiar with forms, just started learning about them. > I will try your suggestion though. > Any suggestions or ideas will be very much appreciated. > > Thank you, > Tim > > "Duane Hookom" wrote: > >> Don't know why you get the multiple prompts. Have you considered upping >> the >> user experience by using controls on a form rather than parameter >> prompts? >> >> -- >> Duane Hookom >> MS Access MVP >> -- >> >> "Tim" <Tim@discussions.microsoft.com> wrote in message >> news:B6D0A32D-665F-4720-819F-8D9387DBF570@microsoft.com... >> > In Access 2000 (SP3), running in Windows 2000 Professional SP4) I >> > create >> > and >> > save a query with user entered parameters. This is for a single table >> > using >> > the, below, SELECT query. At this point the query runs fine. >> > Sometimes, not always, cannot figure out why, if I make a change in the >> > query (e.g. change the which of two fields appears first, or change the >> > prompt from entering a single date to a between start date and end >> > date) >> > the >> > query starts asking for the user prompt twice. >> > The first entry is ignored. Whenever the prompts appear twice, if I >> > enter >> > different values for the two prompts only the value from the second >> > prompt >> > is >> > used in executing the query. >> > The query on which this scenario occured, for both conditions listed: >> > SELECT DISTINCT Table1.[Serv Nbr] AS [SO #], Table1.EquipID AS SN, >> > Table1.[Cust Nbr] AS [Customer #], Table1.[Cust Sortname] AS [Customer >> > Name], >> > Table1.[Close Dt] AS [Closed Date], Table1.[Tech Sortname] AS [Tech >> > Name], >> > Table1.[Problem Cd] >> > FROM Table1 >> > WHERE (((Table1.[Closed Date]) Between [Start Date - m/d/yyyy] And [End >> > Date >> > - m/d/yyyy])) >> > >> > There have been a number of discussions on this issue where the sort >> > order >> > was the reason, but there is no sort on this query. >> > Also, the query will run fine when I open Access then, when I change >> > the >> > order of appearance for two fields, it will start prompting twice. I >> > will >> > close Access, restart it and the query will work fine. >> > Any ideas? >> >> >>
- Next message: Rick B: "Re: How to calculate # of work days inconjunction with datediff in Ac."
- Previous message: phanatix: "How to calculate # of work days inconjunction with datediff in Ac."
- In reply to: Tim: "Re: Query prompts twice for same parameters"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|