G
Guest
We have approximately 15 month-end accounting reports in Access. Each report
needs the same Start Date & End Date Parameters.
Is there a way to store the Parameter values so that they are available and
can be re-used by each report and we won't have to enter 30 Parameter values
(15 x 2)?
Here is a copy of a current query:
SELECT transactions.[Status Code], [SC Collection Services].Description,
transactions.[Trans Code], [TC Collection Services].Description,
Sum(transactions.[Trans Amt]) AS [SumOfTrans Amt]
FROM (transactions INNER JOIN [SC Collection Services] ON
transactions.[Status Code] = [SC Collection Services].[Status Code]) INNER
JOIN [TC Collection Services] ON transactions.[Trans Code] = [TC Collection
Services].[Trans Code]
WHERE (((transactions.[Date Posted]) Between #08/01/05# And #08/31/05#) AND
((transactions.[Client Number]) Is Null Or (transactions.[Client
Number])=33222))
GROUP BY transactions.[Status Code], [SC Collection Services].Description,
transactions.[Trans Code], [TC Collection Services].Description
ORDER BY transactions.[Status Code], transactions.[Trans Code];
I tried to create two single record tables (ReportStart & ReportEnd) and
store the Start Date and End Date in these tables. However, it caused some
problems with the queries (not in the aggregate function).
This seems like a fairly common problem, but I haven't found many answers yet.
Thanks for the help,
David Pineau
needs the same Start Date & End Date Parameters.
Is there a way to store the Parameter values so that they are available and
can be re-used by each report and we won't have to enter 30 Parameter values
(15 x 2)?
Here is a copy of a current query:
SELECT transactions.[Status Code], [SC Collection Services].Description,
transactions.[Trans Code], [TC Collection Services].Description,
Sum(transactions.[Trans Amt]) AS [SumOfTrans Amt]
FROM (transactions INNER JOIN [SC Collection Services] ON
transactions.[Status Code] = [SC Collection Services].[Status Code]) INNER
JOIN [TC Collection Services] ON transactions.[Trans Code] = [TC Collection
Services].[Trans Code]
WHERE (((transactions.[Date Posted]) Between #08/01/05# And #08/31/05#) AND
((transactions.[Client Number]) Is Null Or (transactions.[Client
Number])=33222))
GROUP BY transactions.[Status Code], [SC Collection Services].Description,
transactions.[Trans Code], [TC Collection Services].Description
ORDER BY transactions.[Status Code], transactions.[Trans Code];
I tried to create two single record tables (ReportStart & ReportEnd) and
store the Start Date and End Date in these tables. However, it caused some
problems with the queries (not in the aggregate function).
This seems like a fairly common problem, but I haven't found many answers yet.
Thanks for the help,
David Pineau