visual studio - VB Collection cannot be indexed because it has no default property? How to iterate a collection? -
dim rs2 ihistorian_sdk.tagrecordset ... inti = 1 rs2.item.count .... histenghigh = rs2.item(inti).hiengineeringunits
now gives error interface 'vba.collection' cannot indexed because has no default property. used work when ran code in vba 6.5 via ifix have made standalone project in visual studio 2005 gives me error.
so do? default , why not have one/need one?
thanks
never mind fixed iterating using each loop, didn't know use custom collection
each item in rs2.item writelogfile(item.description) ...
Comments
Post a Comment