P
Pendragon
Access 03/WinXP
I am using a function to generate an SQL statement based on several
user-defined filters from a form. This SQL statement is used as the record
source in the OnOpen statement of the report property. I have no problems
with the SQL statement, filters, etc. - the report displays exactly the
records requested.
Where I am having an issue in the the report's group subtotals and the
report totals; the amounts calculated are the totals for the *entire*
underlying table of the initial SQL statement from the function and *not* the
filtered set of records.
I tried using the running totals options on the text boxes but the result
was the same.
Suggestions are appreciated.
I am using a function to generate an SQL statement based on several
user-defined filters from a form. This SQL statement is used as the record
source in the OnOpen statement of the report property. I have no problems
with the SQL statement, filters, etc. - the report displays exactly the
records requested.
Where I am having an issue in the the report's group subtotals and the
report totals; the amounts calculated are the totals for the *entire*
underlying table of the initial SQL statement from the function and *not* the
filtered set of records.
I tried using the running totals options on the text boxes but the result
was the same.
Suggestions are appreciated.