Your adding everything with the same reference - cust2. Therefore all previous references to cust2 now point to the most recent addition to the vector. Use a counter to incrementally add to the vector ie.
vector.addElement( ("Cust" + counter) )
to give each element in the vector a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.