G
Guest
Hi folks,
In need of some urgent help on this.
I have a form "reportselection" where I can select the report I want to run
and also input some criterias through some fields. For the fields that the
report uses and I want to have parameters against. I have the criterias in
my query underlying my report (report: "Status Report - Daily Bundle
Activity by Department/Advisor", query: "trackcountquery21).
The criteria point to the fields on the form. I want to be able to open
the report from this form with the "filters" that I have chosen.
Please see the SQL view of my underlying query below.
SELECT TrackCount.DateAdded, TrackCount.fkDeptID, TrackCount.AssignedTo,
Count(TrackCount.[Bundle#]) AS Bundles, Sum(TrackCount.[CountOfTrack#]) AS
Documents, Sum(TrackCount.[Problem Logged]) AS [Problem Logged],
Sum(TrackCount.Pending) AS Pending, Sum(TrackCount.Parked) AS Parked,
Sum(TrackCount.Unparked) AS Unparked, Sum(TrackCount.Paid) AS Paid,
Sum(TrackCount.Unpaid) AS Unpaid, Sum(TrackCount.[FI Review]) AS [FI Review],
Sum(TrackCount.Revision) AS [Under Review], Sum(TrackCount.Complete) AS
Complete, Sum(TrackCount.Incomplete) AS Incomplete
FROM TrackCount
GROUP BY TrackCount.DateAdded, TrackCount.fkDeptID, TrackCount.AssignedTo
HAVING (((TrackCount.DateAdded) Between [Forms]![reportselection]![from] And
[Forms]![reportselection]![dateto]) AND
((TrackCount.fkDeptID)=[Forms]![reportselection]![dept]) AND
((TrackCount.AssignedTo)=[Forms]![reportselection]![adv]));
For some reason, the data is not populating properly. In some cases I have
more data then I asked for, or if I "filter" a field, the other records are
still showing, or I am getting #error# on my report.
Any reason why this would be? I suspect its somehow has to do with my
criterias. If I only use one, it usually works, but the minute I use a
"filter" more than one field, the whole thing goes down.
Help is appreciated.
In need of some urgent help on this.
I have a form "reportselection" where I can select the report I want to run
and also input some criterias through some fields. For the fields that the
report uses and I want to have parameters against. I have the criterias in
my query underlying my report (report: "Status Report - Daily Bundle
Activity by Department/Advisor", query: "trackcountquery21).
The criteria point to the fields on the form. I want to be able to open
the report from this form with the "filters" that I have chosen.
Please see the SQL view of my underlying query below.
SELECT TrackCount.DateAdded, TrackCount.fkDeptID, TrackCount.AssignedTo,
Count(TrackCount.[Bundle#]) AS Bundles, Sum(TrackCount.[CountOfTrack#]) AS
Documents, Sum(TrackCount.[Problem Logged]) AS [Problem Logged],
Sum(TrackCount.Pending) AS Pending, Sum(TrackCount.Parked) AS Parked,
Sum(TrackCount.Unparked) AS Unparked, Sum(TrackCount.Paid) AS Paid,
Sum(TrackCount.Unpaid) AS Unpaid, Sum(TrackCount.[FI Review]) AS [FI Review],
Sum(TrackCount.Revision) AS [Under Review], Sum(TrackCount.Complete) AS
Complete, Sum(TrackCount.Incomplete) AS Incomplete
FROM TrackCount
GROUP BY TrackCount.DateAdded, TrackCount.fkDeptID, TrackCount.AssignedTo
HAVING (((TrackCount.DateAdded) Between [Forms]![reportselection]![from] And
[Forms]![reportselection]![dateto]) AND
((TrackCount.fkDeptID)=[Forms]![reportselection]![dept]) AND
((TrackCount.AssignedTo)=[Forms]![reportselection]![adv]));
For some reason, the data is not populating properly. In some cases I have
more data then I asked for, or if I "filter" a field, the other records are
still showing, or I am getting #error# on my report.
Any reason why this would be? I suspect its somehow has to do with my
criterias. If I only use one, it usually works, but the minute I use a
"filter" more than one field, the whole thing goes down.
Help is appreciated.