-
Topic
-
I have a listview with multi select enabled, I am able to successfully loop thru but instead of just getting the items selected I am
getting the same row multiple times. Can you please comment on the code I am providing you as to where my mistake may be? I have been researching and had hoped that the selectedItems would a property I could use but I get a syntax error. Anyway, talk to you soon and the coding examples I have tried are shown below:for I = 0 to CDIP_FRM.ListView.SelectedItems.count -1
iGuideline_area = iGuideline_area & CDIP_FRM.ListView.selected.Caption
iGuideline = CDIP_FRM.ListView.selected.SubItems.Strings(1)
iGuideline_num = CDIP_FRM.ListView.selected.SubItems.Strings(0)
nextfor I = 0 to CDIP_FRM.ListView.Items.count -1
iGuideline_area = iGuideline_area & CDIP_FRM.ListView.selected.Caption
iGuideline = CDIP_FRM.ListView.selected.SubItems.Strings(1)
iGuideline_num = CDIP_FRM.ListView.selected.SubItems.Strings(0)
next
- You must be logged in to reply to this topic.