T
Tim
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?
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?