LOUISBUHAGIAR54
Registered User.
- Local time
- Yesterday, 22:10
- Joined
- Mar 14, 2010
- Messages
- 157
I have three tables from which I can derive three queries. Each table will contain details of services, tests, and hospitalisation respectively. On each record there will be a field called invoiced set to Yes/No depending on whether the record has been invoiced. On each of these three queries there will be another field containing an ID card number. In a fourth table (A), there are particulars of a long list of clients, some of which may have needed services, tests or hospitalisation. These have a matching id card number set as the primary key.
I would like to have a list on a form so that as soon as a client has needed a service (record in Query1), has needed a test (record in Query2), or hospitalisation (record in Query3), and has not been invoiced, his name appears in the list so that a billing can be made. I know that in the end I will need a totals query to group the clients regardless of how many tests, services and/or hospitalisation one may have utilised, as one name. However I am not sure how to set up the relationships between the queries themselves and with TableA.
Can one help me with the relationships to set up between Query1, Query2, Query3 and Table A ?
Many thanks for your assistance.
Louis.
I would like to have a list on a form so that as soon as a client has needed a service (record in Query1), has needed a test (record in Query2), or hospitalisation (record in Query3), and has not been invoiced, his name appears in the list so that a billing can be made. I know that in the end I will need a totals query to group the clients regardless of how many tests, services and/or hospitalisation one may have utilised, as one name. However I am not sure how to set up the relationships between the queries themselves and with TableA.
Can one help me with the relationships to set up between Query1, Query2, Query3 and Table A ?
Many thanks for your assistance.
Louis.
Last edited: