i have a many to many tables in my database which i have uploaded.
tblClientDetails hold the ClientdDetailsId
tblTreatmentList hold TreatmentListID
tblAppointments holds AppointmentID & ClientDetailsID
tblAppointmentTreatmentItems hold AppointmentID & TreatmentItemsID
i want a query that shows me for example what client 731 had as a treatment. for this is need to be able to filter the client. find what appointments belong to that client and then find out what appointment treatments apply to that appointment. thus giving the result of what treatment that client had.
can anybody help with this as i am really stuck and this is the first time i have even used a many to many table system and definately the first time i have tried to extract information from it.
ps. sorry for posting this again but the answer i got in the first instance wasnt really an answer but mearly a suggestion of how my table system should be. i dont mean any offence by this just in my experience of posting threads is that if it already has replies then few and far between do other user give input.
i really would like to know if it is possible with the table system i have.
tblClientDetails hold the ClientdDetailsId
tblTreatmentList hold TreatmentListID
tblAppointments holds AppointmentID & ClientDetailsID
tblAppointmentTreatmentItems hold AppointmentID & TreatmentItemsID
i want a query that shows me for example what client 731 had as a treatment. for this is need to be able to filter the client. find what appointments belong to that client and then find out what appointment treatments apply to that appointment. thus giving the result of what treatment that client had.
can anybody help with this as i am really stuck and this is the first time i have even used a many to many table system and definately the first time i have tried to extract information from it.
ps. sorry for posting this again but the answer i got in the first instance wasnt really an answer but mearly a suggestion of how my table system should be. i dont mean any offence by this just in my experience of posting threads is that if it already has replies then few and far between do other user give input.
i really would like to know if it is possible with the table system i have.