E
E B
Hi All -
I have an app where I'm retrieving records from a database, the
individual column data is being stored into a custom object, which are
put into a Vector (which is basically a row of data from the table),
and then these vectors are added to another vector (vector of
vectors), making up the contents of the table.
However when I add my second vector (row 2 of the data), it appears to
be overwriting the contents of the first row, as well as adding the
second, so I have two vectors (vector.size() is 2 at this point) in my
data vector that are exactly the same.
Has anyone experienced something like this before?
my debugging efforts seem to confirm that the first row vector is put
in my final vector properly.
Any help appreciated.
Thanks.
Eric
I have an app where I'm retrieving records from a database, the
individual column data is being stored into a custom object, which are
put into a Vector (which is basically a row of data from the table),
and then these vectors are added to another vector (vector of
vectors), making up the contents of the table.
However when I add my second vector (row 2 of the data), it appears to
be overwriting the contents of the first row, as well as adding the
second, so I have two vectors (vector.size() is 2 at this point) in my
data vector that are exactly the same.
Has anyone experienced something like this before?
my debugging efforts seem to confirm that the first row vector is put
in my final vector properly.
Any help appreciated.
Thanks.
Eric