Parameter query question

G

Guest

I set up a parameter query where the user enters a date. For some reason,
the "enter parameter value" box now comes up twice and the user needs to
enter the date twice before viewing the query results. I looked at the query
in design view and nothing has changed on it. Any ideas why this might be
happening? This is the criteria I entered into the query's date field:

[Enter Reminder Date]

Thanks!
 
G

Guest

SELECT tbleLOCAgreements.ID, tbleLOCAgreements.Supplier,
tbleLOCAgreements.[Agreement #], tbleLOCAgreements.[Date Submitted],
tbleLOCAgreements.[Date Due], tbleLOCAgreements.[Date Received],
tbleLOCAgreements.[Next Reminder Date], tbleLOCAgreements.Status,
tbleLOCAgreements.[Member Group], tbleLOCAgreements.Name,
tbleLOCAgreements.[Bar Code], tbleLOCAgreements.[Last Name],
tbleLOCAgreements.[First Name], tbleLOCAgreements.Notes
FROM tbleLOCAgreements
WHERE (((tbleLOCAgreements.[Next Reminder Date])=[Enter Reminder Date]));

--
Tina


Duane Hookom said:
Post the SQL view of your query.
--
Duane Hookom
Microsoft Access MVP


Tina said:
I set up a parameter query where the user enters a date. For some reason,
the "enter parameter value" box now comes up twice and the user needs to
enter the date twice before viewing the query results. I looked at the query
in design view and nothing has changed on it. Any ideas why this might be
happening? This is the criteria I entered into the query's date field:

[Enter Reminder Date]

Thanks!
 
G

Guest

This looks ok to me (other than field names with spaces & symbols and a
field named "Name" ;-( ).

Do you get the enter parameter twice when directly opening the query or when
attempting to open a form or report?

Try copy and paste the SQL into a new blank query and see if you get
prompted twice.

--
Duane Hookom
Microsoft Access MVP


Tina said:
SELECT tbleLOCAgreements.ID, tbleLOCAgreements.Supplier,
tbleLOCAgreements.[Agreement #], tbleLOCAgreements.[Date Submitted],
tbleLOCAgreements.[Date Due], tbleLOCAgreements.[Date Received],
tbleLOCAgreements.[Next Reminder Date], tbleLOCAgreements.Status,
tbleLOCAgreements.[Member Group], tbleLOCAgreements.Name,
tbleLOCAgreements.[Bar Code], tbleLOCAgreements.[Last Name],
tbleLOCAgreements.[First Name], tbleLOCAgreements.Notes
FROM tbleLOCAgreements
WHERE (((tbleLOCAgreements.[Next Reminder Date])=[Enter Reminder Date]));

--
Tina


Duane Hookom said:
Post the SQL view of your query.
--
Duane Hookom
Microsoft Access MVP


Tina said:
I set up a parameter query where the user enters a date. For some reason,
the "enter parameter value" box now comes up twice and the user needs to
enter the date twice before viewing the query results. I looked at the query
in design view and nothing has changed on it. Any ideas why this might be
happening? This is the criteria I entered into the query's date field:

[Enter Reminder Date]

Thanks!
 
G

Guest

Yes, I get the enter parameter twice when I click directly on the query and
also when I click on the command button on the switchboard that calls the
query.

I took your suggestion and pasted the sql into a new query and it seems to
be working fine now. Thanks for the suggestion.
--
Tina


Duane Hookom said:
This looks ok to me (other than field names with spaces & symbols and a
field named "Name" ;-( ).

Do you get the enter parameter twice when directly opening the query or when
attempting to open a form or report?

Try copy and paste the SQL into a new blank query and see if you get
prompted twice.

--
Duane Hookom
Microsoft Access MVP


Tina said:
SELECT tbleLOCAgreements.ID, tbleLOCAgreements.Supplier,
tbleLOCAgreements.[Agreement #], tbleLOCAgreements.[Date Submitted],
tbleLOCAgreements.[Date Due], tbleLOCAgreements.[Date Received],
tbleLOCAgreements.[Next Reminder Date], tbleLOCAgreements.Status,
tbleLOCAgreements.[Member Group], tbleLOCAgreements.Name,
tbleLOCAgreements.[Bar Code], tbleLOCAgreements.[Last Name],
tbleLOCAgreements.[First Name], tbleLOCAgreements.Notes
FROM tbleLOCAgreements
WHERE (((tbleLOCAgreements.[Next Reminder Date])=[Enter Reminder Date]));

--
Tina


Duane Hookom said:
Post the SQL view of your query.
--
Duane Hookom
Microsoft Access MVP


:

I set up a parameter query where the user enters a date. For some reason,
the "enter parameter value" box now comes up twice and the user needs to
enter the date twice before viewing the query results. I looked at the query
in design view and nothing has changed on it. Any ideas why this might be
happening? This is the criteria I entered into the query's date field:

[Enter Reminder Date]

Thanks!
 
Joined
Feb 6, 2009
Messages
1
Reaction score
0
=?Utf-8?B?RHVhbmUgSG9va29t?= said:
(...) Try copy and paste the SQL into a new blank query and see if you get
prompted twice.

--
Duane Hookom
Microsoft Access MVP
Thanks for the tip - this worked for me too!
 

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

Top