Using DBGrid in unbound mode
Posted on 1998-10-06
I need some assistance with using the VB5 DBGrid in unbound mode. I have obtained the controls supplemented documentation from the Apex website but I'm still can't figure out how to allow the user to add rows of data to the grid and save the cell values to an array or some other data structure.
I have written a event handler for the UnboundReadData event that works when I provide a array of prepared data. But it fails when I add new rows or if I start with a blank array and try to add to the array by responding to the UnboundAddData event the UnboundReadData handler doesn't show the data in the grid.
I'd like to see a valid structure of an UnboundAddData event handler and a UnboundReadData event handler.