Hi guys, I have problem with a Vector. I get 26 records from a DB and enter them into a Vector. I've checked the ResultSet values and they are OK. I start printing values (from the first object) when the ResultSet reaches 3 (�First Print Name (Code)�). The values printed are from the current object (from row 3 up) not from the position 0 and up to 23. When I try to print the values second time (�Second Print Name(Code)�) only one (the last record�s) values are printed 26 times (Vector�s size). It looks like every time a new object(Course) is entered into the Vector it replaces all other objects in it.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I'm sorry, too, Dmitri... I'm very sorry... *All right*, you're sorrier than I am, but I am as sorry as well... I am as sorry as you are, Dmitri! Don't say that you're more sorry than I am, because I'm capable of being just as sorry as you are... So we're both sorry, all right?