Hi,
Unsure what is the best way to go about with my issue.
I have a form that has a list box on it, and the user is able to select x number of items.
I want to be able to use this information in a query.
The only way i can think of is to have a hidden textbox on the form that hold the id number of the items that have been selected, and it would look like:
"49D109E0-5B20-4AC2-92BC-09C428B74C55" OR "5CCE536B-F9E6-459D-A510-E725EF1F75D2" OR "A3201A32-CE9B-447D-9CA7-BCC16D7EBDE8" OR "6B396E9D-DE95-4ABA-906C-ACDCAA93F525" OR "9A5777F3-1EBC-4E9E-8E59-C09089704E9A" OR "BFE1F579-F522-47A8-B90E-A085B86E2607" OR "34117C1A-DE85-48A8-996F-E83A6D360855"
And this is passed to the query - but as you can guess it does not work.
What is the best way to go about what i am trying to achieve.
Is there a way to pass an array to a query?
Many thanks for any help or advise in advance.
Unsure what is the best way to go about with my issue.
I have a form that has a list box on it, and the user is able to select x number of items.
I want to be able to use this information in a query.
The only way i can think of is to have a hidden textbox on the form that hold the id number of the items that have been selected, and it would look like:
"49D109E0-5B20-4AC2-92BC-09C428B74C55" OR "5CCE536B-F9E6-459D-A510-E725EF1F75D2" OR "A3201A32-CE9B-447D-9CA7-BCC16D7EBDE8" OR "6B396E9D-DE95-4ABA-906C-ACDCAA93F525" OR "9A5777F3-1EBC-4E9E-8E59-C09089704E9A" OR "BFE1F579-F522-47A8-B90E-A085B86E2607" OR "34117C1A-DE85-48A8-996F-E83A6D360855"
And this is passed to the query - but as you can guess it does not work.
What is the best way to go about what i am trying to achieve.
Is there a way to pass an array to a query?
Many thanks for any help or advise in advance.