M
margaret
I'm having a similar problem as the above mentioned question. I have a query
....
PARAMETERS [Work Date] DateTime;
SELECT [TBL Gates].[term#], [TBL Tickets].id, [TBL Tickets].Fullname, [TBL
Tickets].Gates, [TBL Gates].termid, [TBL Tickets].CurrentDate, [TBL
Tickets].Bankdate, [QRYTktSold_Crosstab Query].TotalTKTSold,
[QRYTKTSales_Crosstab Query].Adult2, [QRYTKTSales_Crosstab Query].Child2,
[QRYTKTSales_Crosstab Query].Special2, [QRYTKTSales_Crosstab Query].[Sr
Citizen2], [QRYTKTSales_Crosstab Query].gg2
FROM [TBL Gates] INNER JOIN (([TBL Tickets] INNER JOIN [QRYTktSold_Crosstab
Query] ON [TBL Tickets].id = [QRYTktSold_Crosstab Query].id) INNER JOIN
[QRYTKTSales_Crosstab Query] ON [TBL Tickets].id = [QRYTKTSales_Crosstab
Query].id) ON [TBL Gates].gates = [TBL Tickets].Gates
WHERE ((([TBL Tickets].CurrentDate)=[Work Date]))
ORDER BY [TBL Tickets].Gates;
I can run the query, however, when using it for a report, I get "Syntex
Error in Parameter clause".
Help ... These reports ran fine last year under Access 2003 but am having
trouble running them under Access 2007.
....
PARAMETERS [Work Date] DateTime;
SELECT [TBL Gates].[term#], [TBL Tickets].id, [TBL Tickets].Fullname, [TBL
Tickets].Gates, [TBL Gates].termid, [TBL Tickets].CurrentDate, [TBL
Tickets].Bankdate, [QRYTktSold_Crosstab Query].TotalTKTSold,
[QRYTKTSales_Crosstab Query].Adult2, [QRYTKTSales_Crosstab Query].Child2,
[QRYTKTSales_Crosstab Query].Special2, [QRYTKTSales_Crosstab Query].[Sr
Citizen2], [QRYTKTSales_Crosstab Query].gg2
FROM [TBL Gates] INNER JOIN (([TBL Tickets] INNER JOIN [QRYTktSold_Crosstab
Query] ON [TBL Tickets].id = [QRYTktSold_Crosstab Query].id) INNER JOIN
[QRYTKTSales_Crosstab Query] ON [TBL Tickets].id = [QRYTKTSales_Crosstab
Query].id) ON [TBL Gates].gates = [TBL Tickets].Gates
WHERE ((([TBL Tickets].CurrentDate)=[Work Date]))
ORDER BY [TBL Tickets].Gates;
I can run the query, however, when using it for a report, I get "Syntex
Error in Parameter clause".
Help ... These reports ran fine last year under Access 2003 but am having
trouble running them under Access 2007.