sougata666
Registered User.
- Local time
- Today, 13:15
- Joined
- May 1, 2016
- Messages
- 36
Here is the result of a query
Name ItemBought
Tom Box
Tom Candle
Tom Pen
Bob Box
Bob Pen
A form is used to Select name (combo box) and items bought (check boxes). In this case, the form has a single combo box and three check boxes corresponding to the three items (box,candle and pen).
The user is at liberty to Select a Name (optional) and any combination of items (all these items are optional except that the OK button cannot be clicked if none of the options are selected. So a minimum of one item or a name has to be selected).
Once Ok is clicked, a string filter is passed to a pre-generated report which uses the above query.
Now , this works fine as long as i select only one checkbox OR one checkbox and a name OR just a name.
I want to see who has bought a candle AND a pen by selecting both check boxes but it generates a blank report. (It should have produced "TOM")
I suspect that this is because of the use of "AND" in my search string.
How do I solve this?
Name ItemBought
Tom Box
Tom Candle
Tom Pen
Bob Box
Bob Pen
A form is used to Select name (combo box) and items bought (check boxes). In this case, the form has a single combo box and three check boxes corresponding to the three items (box,candle and pen).
The user is at liberty to Select a Name (optional) and any combination of items (all these items are optional except that the OK button cannot be clicked if none of the options are selected. So a minimum of one item or a name has to be selected).
Once Ok is clicked, a string filter is passed to a pre-generated report which uses the above query.
Now , this works fine as long as i select only one checkbox OR one checkbox and a name OR just a name.
I want to see who has bought a candle AND a pen by selecting both check boxes but it generates a blank report. (It should have produced "TOM")
I suspect that this is because of the use of "AND" in my search string.
How do I solve this?