K
Keiron via AccessMonster.com
I am having a few problems trying to work this one out.
I want to make a qry that returns the 1st meeting a client had within a 6
month period 1 oct 05 - 31 mar 06 that are in certain types of Care and
length of care.
I have 2 tables one stores the client information and another table that
stores all the client meetings.
In the qry I have
from the Client Table - tbl_LACChecklist
LACChecklistID
CareType - "HBC" is the type of care i need returned
TypeofCare - "FTC" is the length of care i need returned
From the meeting Table - tbl_RequestRCCP
MeetingDate - Between #1/10/2005# And #31/03/2006#
I have manually counted and there are 25 records that fall within the
criteria 17 of which are first time meetings and another 8 that are second
meetings. my problem is min returns 12 records and Max returns 17 records.
same if i use first or last when using Totals on the MeetingDate
i thought that using either value would return 17 seeing as thats the amount
that have at least 1 meeting. but max and last are the only ones that return
the correct total. i have played around with the joins but still returns the
same results.
Any help would be much appreciated.
Cheers
Keiron
I want to make a qry that returns the 1st meeting a client had within a 6
month period 1 oct 05 - 31 mar 06 that are in certain types of Care and
length of care.
I have 2 tables one stores the client information and another table that
stores all the client meetings.
In the qry I have
from the Client Table - tbl_LACChecklist
LACChecklistID
CareType - "HBC" is the type of care i need returned
TypeofCare - "FTC" is the length of care i need returned
From the meeting Table - tbl_RequestRCCP
MeetingDate - Between #1/10/2005# And #31/03/2006#
I have manually counted and there are 25 records that fall within the
criteria 17 of which are first time meetings and another 8 that are second
meetings. my problem is min returns 12 records and Max returns 17 records.
same if i use first or last when using Totals on the MeetingDate
i thought that using either value would return 17 seeing as thats the amount
that have at least 1 meeting. but max and last are the only ones that return
the correct total. i have played around with the joins but still returns the
same results.
Any help would be much appreciated.
Cheers
Keiron