saschmeling
New Member
- Joined
- Jun 27, 2012
- Messages
- 39
Hi,
I have a base Query that pulls in data to be used in multiple queries.
This feeds two other Queries.
and
When I put them both on a single report as subreports- it asks me for the StartDate and EndDate twice. I would like for it to ask only once. Any suggestions on how this can be done? While keeping it simple as once I turn this over to the user I will be leaving and the extent of their Access training is one college class.
Thanks,
I have a base Query that pulls in data to be used in multiple queries.
Code:
Select
ClientActivities.FacilityID
,Facility.FacilityName
,ClientActivities.ClientID
,ClientActivities.ActivityID
,ClientActivities.ActivityDate
From
ClientActivities
Inner Join
Facility
on
ClientActivities.FacilityID = FAcility.FacilityID
Where
ClientActivities.ActivityDate Between [StartDate] and [EndDate]
Code:
Select
FacilityName
,Count(ClientID)
From
BaseQuery
and
Code:
Select
ActivityID
,Count(ClientID)
From
BaseQuery
When I put them both on a single report as subreports- it asks me for the StartDate and EndDate twice. I would like for it to ask only once. Any suggestions on how this can be done? While keeping it simple as once I turn this over to the user I will be leaving and the extent of their Access training is one college class.
Thanks,