G
Guest
Hi,
I am using the query by form technique, where-by i select options from
multiple combo/text boxes on a form which then acts as criteria for a query
(which feeds from only one table).
I have been using the following formula, so that if and option is chosen in
the text box then the query searches only for those records, but if the combo
is left blank is searches for all.
Like [forms]![Memb query]![Postcode] & "*" OR [forms]![Memb
query]![Postcode] Is
This works fine. However I need about 20 or so search criteria, each with
the above formula. Now this works but is sometimes causing the query to
crash, but more importantly the query is so large i can no longer open the
query in design view (except the SQL view) nor can i change (ie add new
fields) the query if i need to later down the line.
So, is there a more efficient way of doing this kind of search .... i'm
really stuck.
Cheers
I am using the query by form technique, where-by i select options from
multiple combo/text boxes on a form which then acts as criteria for a query
(which feeds from only one table).
I have been using the following formula, so that if and option is chosen in
the text box then the query searches only for those records, but if the combo
is left blank is searches for all.
Like [forms]![Memb query]![Postcode] & "*" OR [forms]![Memb
query]![Postcode] Is
This works fine. However I need about 20 or so search criteria, each with
the above formula. Now this works but is sometimes causing the query to
crash, but more importantly the query is so large i can no longer open the
query in design view (except the SQL view) nor can i change (ie add new
fields) the query if i need to later down the line.
So, is there a more efficient way of doing this kind of search .... i'm
really stuck.
Cheers