jgoodman00
Programmer
- Jan 23, 2001
- 1,510
I have created a series of listboxes which are used for data drill-down in order to select different types of record (based on an ID attained from a tblHierarchy). This consists of Levels1-5. After the user has selected a level 5 classification, an SQL string is constructed which forms the rowsource for another listbox. This listbox selects all HierarchyID's which correspond to the users selections.
The user will not use this final listbox, it is merely to display a list of HierarchyIDs which correspond to their selection. I then want to pass these ID values into a query. However, I cannot see the functionality to enumerate through the listbox values in order to construct a final SQL string to pass into to query. The only enumeration I can see is the ability to enumerate through selected items, which I have used to progressivley narrow down their selections as they select items from each level.
All listboxes are set to Extended multi select.
Any suggestions? James Goodman
The user will not use this final listbox, it is merely to display a list of HierarchyIDs which correspond to their selection. I then want to pass these ID values into a query. However, I cannot see the functionality to enumerate through the listbox values in order to construct a final SQL string to pass into to query. The only enumeration I can see is the ability to enumerate through selected items, which I have used to progressivley narrow down their selections as they select items from each level.
All listboxes are set to Extended multi select.
Any suggestions? James Goodman