C
Cadburys
Hi
I have a form that users select their criteria eg. Staff Name, Client Name
and date ranges. The user then clicks on a button that displays a form
listing the matching records.
My problem is that the form that opens is based on 14 queries. I am sure
that there must be a more efficient way to do this.
Query1 gets all the data from the underlying table
Query2 examines the Staff name box on the criteria form and if there is a
name then the results screen shows only that staff members records if there
is no staff name then it shows all records.
Query3 is based on Query2 (so it once again examines the staff name box) and
it checks for the Client on the criteria form and if there is one then
filters by the staff name and the client.
etc up to Query14.
Is there another way to do this?
Thanks
Nicky
I have a form that users select their criteria eg. Staff Name, Client Name
and date ranges. The user then clicks on a button that displays a form
listing the matching records.
My problem is that the form that opens is based on 14 queries. I am sure
that there must be a more efficient way to do this.
Query1 gets all the data from the underlying table
Query2 examines the Staff name box on the criteria form and if there is a
name then the results screen shows only that staff members records if there
is no staff name then it shows all records.
Query3 is based on Query2 (so it once again examines the staff name box) and
it checks for the Client on the criteria form and if there is one then
filters by the staff name and the client.
etc up to Query14.
Is there another way to do this?
Thanks
Nicky