I have 2 tables which I use to filter the main database for various reasons.
1 has a list of around 20 different catagories of business (i.e. cleaners, builders etc...)
the 2nd list is a list of sources, i.e. the person who we got the information from by persons initials (e.g. F, N... etc)
At the moment I am filtering manually through a query design.
using criteria ( Criteria / CatagoryID: = "2"AND"3"AND"4" or something)
this is very easy for me to do but it takes a long time, plus others using the system don't know how to do it. So I want to make a form, full of check boxes, 2 main groups; one for catagory (so there will be 20 tick boxes) and another for source.
i've tried searching on here already but you seem to all talk about SQL.
I had a rough idea of perhaps running a query with aload of IFF statments instead of numbers
(like IIF the box was ticked then add it to the query criteria, if not then dont...
IIF(TickBox01 = True, "1","") AND IIF(TickBox02 = True, "2","")
my logic thinks that for example if 01 is ticked and 02 isnt, the end result should just be 1 being filtered out.
Am I thinking correctly here?
1 has a list of around 20 different catagories of business (i.e. cleaners, builders etc...)
the 2nd list is a list of sources, i.e. the person who we got the information from by persons initials (e.g. F, N... etc)
At the moment I am filtering manually through a query design.
using criteria ( Criteria / CatagoryID: = "2"AND"3"AND"4" or something)
this is very easy for me to do but it takes a long time, plus others using the system don't know how to do it. So I want to make a form, full of check boxes, 2 main groups; one for catagory (so there will be 20 tick boxes) and another for source.
i've tried searching on here already but you seem to all talk about SQL.
I had a rough idea of perhaps running a query with aload of IFF statments instead of numbers
(like IIF the box was ticked then add it to the query criteria, if not then dont...
IIF(TickBox01 = True, "1","") AND IIF(TickBox02 = True, "2","")
my logic thinks that for example if 01 is ticked and 02 isnt, the end result should just be 1 being filtered out.
Am I thinking correctly here?