My original post seems to have fallen way down the list, so I'm posting it again. Also, I have since found out that I need to use the UnboundReadData, UnboundWriteData, and UnboundAddData events to do what I need to do, but I'm still having some trouble. Specifically, I'm having trouble setting bookmarks properly so that the data ends up in the right row in the grid.
Thanks in advance.
Brice
I'm using a DBGrid to display and edit data that is contained in objects within a collection object that is within another object (Whew!) I have no problem getting the data from the objects and putting data into the objects in the collection, but for some reason, I am not able to display/edit more than one row in the grid.
In a sense, what I'm trying to do is replace the normal recordset with a collection that is a encapsulated within another object. Anyway, I guess what I need to know is how do I add new rows to the grid when I come to the last column in the last row of the grid without binding the grid to a recordset?
I'm using VB6, by the way, and would use a DataGrid except that it only has a Bound mode. It doesn't support Unbound which I think is what I need.
Any help is greatly appreciated.
Thanks,
Brice
Thanks in advance.
Brice
I'm using a DBGrid to display and edit data that is contained in objects within a collection object that is within another object (Whew!) I have no problem getting the data from the objects and putting data into the objects in the collection, but for some reason, I am not able to display/edit more than one row in the grid.
In a sense, what I'm trying to do is replace the normal recordset with a collection that is a encapsulated within another object. Anyway, I guess what I need to know is how do I add new rows to the grid when I come to the last column in the last row of the grid without binding the grid to a recordset?
I'm using VB6, by the way, and would use a DataGrid except that it only has a Bound mode. It doesn't support Unbound which I think is what I need.
Any help is greatly appreciated.
Thanks,
Brice