Hopefully someone can help. This is what i was thinking of doing. I have a form, a multiselect listbox (set to simple) and a button. I was also thinking of using a hidden text box to store the multiple values.
Lets say the list box is populated with A, B, C, D, E and F. The use selects A, C, E and clicks the button. I need the hidden text box to then store this:
like "*A*" and like "*C" and like "*E*"
then the query will say forms!formname etc etc (another form will open based on this query). The user will then be shown a form listing all the records where a certain field conatins A, C and E
I written some code but it seems quite a lot for a simple thing. Has anyone any ideas on a simple routine for me? I think I am using the listIndex and the itemsSelcted at the mo (i am not in work so can't quite remember).
Cheers for any help Hope this is ok. If not, just let me know.
Nick (Everton Rool OK!)
Lets say the list box is populated with A, B, C, D, E and F. The use selects A, C, E and clicks the button. I need the hidden text box to then store this:
like "*A*" and like "*C" and like "*E*"
then the query will say forms!formname etc etc (another form will open based on this query). The user will then be shown a form listing all the records where a certain field conatins A, C and E
I written some code but it seems quite a lot for a simple thing. Has anyone any ideas on a simple routine for me? I think I am using the listIndex and the itemsSelcted at the mo (i am not in work so can't quite remember).
Cheers for any help Hope this is ok. If not, just let me know.
Nick (Everton Rool OK!)