Normally, I'd search until I found my answer, but it looks like the search has been down for two days....
Let me start by divulging my experience level, I've had to give myself a cram session in Access VBA in the last month... I'm normally a java programmer, so many of the things that I would be able to easily do, I'm having to find the VBA equivalent... thanks to tek-tips, I've found most of them.
Anyway, I have a form that has several multi-select listboxes, one is counties, for example.
I need to write code that grabs all the selected counties and somehow get that into a query string. (exp... UPDATE providers SET providers.userID = 1 WHERE providers.county = <listbox selection 0> OR providers.county = <listbox selection 1> etc...) Normally, I would create a collection, add all the selected items to the collection, and build a string by iterating through the collection (or something to that effect).
Unfortunately, I don't know what an equivalent procedure would be in Access 97. Any suggestions would be greatly appreciated. Thank you.
Let me start by divulging my experience level, I've had to give myself a cram session in Access VBA in the last month... I'm normally a java programmer, so many of the things that I would be able to easily do, I'm having to find the VBA equivalent... thanks to tek-tips, I've found most of them.
Anyway, I have a form that has several multi-select listboxes, one is counties, for example.
I need to write code that grabs all the selected counties and somehow get that into a query string. (exp... UPDATE providers SET providers.userID = 1 WHERE providers.county = <listbox selection 0> OR providers.county = <listbox selection 1> etc...) Normally, I would create a collection, add all the selected items to the collection, and build a string by iterating through the collection (or something to that effect).
Unfortunately, I don't know what an equivalent procedure would be in Access 97. Any suggestions would be greatly appreciated. Thank you.