Well I have
NewCustomerID = colCustomers.Item(colCusto
and I get "This key is already asociated with an element of this collection" error. I have tried this already and I think it does it because when a CustomerID is skipped the count is actually less than the highest CustomerID
Thanks, Jebus
Main Topics
Browse All Topics





by: SethiPosted on 2003-11-07 at 20:25:50ID: 9705768
Count the no. of items in the collection. The total count -1 would be the last item. example:
.Count-1)
Collection.Item(Collection