I have a class derived from CRecordset( Oracle database).I post some other member functions.I allocate memory for the object say , X on the heap.I make a linked list of the pointer to my object. When i print the values of the members of the object X,using the items in the linked list ,i get the values w.r.t the last inserted element of the linked list. I want to store the pointer( so that i save memory) in the list so that i get the values of the members Rowwise as in the database.How to attack the problem?