Start Date comes up twice.

  • Thread starter spcscooter via AccessMonster.com
  • Start date
S

spcscooter via AccessMonster.com

I am having a very wierd thing happen when I try to run a report from this
query.

PARAMETERS [Start Date] DateTime, [End Date] DateTime;
SELECT [Master Roster].[Employee ID], [Master Roster].[Last Name], [Master
Roster].[First Name], [Master Roster].Department, [Master Roster].[Ladder
Certification Date], DateAdd("yyyy",1,[Ladder Certification Date]) AS Expires
FROM [Master Roster]
WHERE ((([Master Roster].Department)="fulfillment") AND ((DateAdd("yyyy",1,
[Ladder Certification Date])) Between [StartDate] And [End Date]));

It prompts me for the Start Date (Good), End Date (Good), and then Start Date
(Bad). I only want the Start Date to prompt once. I don't see anything
wrong with what I have done. Can someone help me figure this out.

Thank you,
 
K

KARL DEWEY

Two different spellings ---
PARAMETERS [Start Date] -- space
Between [StartDate] -- no space
 
S

spcscooter via AccessMonster.com

Ohhhhh crud. I am such a knuckle head. Thank you very much.

KARL said:
Two different spellings ---
PARAMETERS [Start Date] -- space
Between [StartDate] -- no space
I am having a very wierd thing happen when I try to run a report from this
query.
[quoted text clipped - 12 lines]
Thank you,
 

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