PARAMETERS [Forms]![frmMylaunchForm1]![sdate] DateTime, [Forms]![frmMylaunchForm1]![Edate] DateTime;
TRANSFORM Sum(Time.[OVER TIME]) AS [SumOfOVER TIME]
SELECT Time.[Last Name]
FROM [Time]
WHERE (((Time.DATE) Between [Forms]![frmMylaunchForm1]![sdate] And [Forms]![frmMylaunchForm1]![Edate]))
GROUP BY Time.[Last Name]
PIVOT Time.DATE;
I have a form setup to enter dates in, it was a combo box but I changed it back to a text box.
When I put info in the text box and hit the run query button , it still asks me for Enter Parameter Values [Forms]![frmMylaunchForm1]![sdate] and i can enter it and then it asks for [Forms]![frmMylaunchForm1]![edate] and i can enter that also.
It works but shouldnt i just be able to hit the run query button and not have to enter the info twice?
TRANSFORM Sum(Time.[OVER TIME]) AS [SumOfOVER TIME]
SELECT Time.[Last Name]
FROM [Time]
WHERE (((Time.DATE) Between [Forms]![frmMylaunchForm1]![sdate] And [Forms]![frmMylaunchForm1]![Edate]))
GROUP BY Time.[Last Name]
PIVOT Time.DATE;
I have a form setup to enter dates in, it was a combo box but I changed it back to a text box.
When I put info in the text box and hit the run query button , it still asks me for Enter Parameter Values [Forms]![frmMylaunchForm1]![sdate] and i can enter it and then it asks for [Forms]![frmMylaunchForm1]![edate] and i can enter that also.
It works but shouldnt i just be able to hit the run query button and not have to enter the info twice?