![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When trying to loop through members of a level by an adomd.catalog object performance takes an incredible hit. My level has around 25.000 members and it takes about 3 minutes to complete a loop through them in VB: For Each mem In Members (adomd.level.members object) debug.print mem.UniqueName, mem.Caption Next It seems like the for each handler loads the entire member collection when first called. Is there any way to make it behave otherwise? Trying to access the .count property has the same result, so i cant for i = 0 to members.count... Anyone have any suggestions on how to stop adomd from loading the entire members list? What i really want to do is make a search function that returns the members in a level that match a passed string. This is very hard to do if this is the performance i have to live with, Any help appriciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |