>Hi all,
>
>I've created a form/grid using the wizard. I've also then changed column order, headings etc on the grid. When I run it, the Headings have moved the new order but the data displays in the same original columns.
>
>* I noticed that the grid.column.text.recordsource for each column was empty. I've entered recordsource info for all columns yet still get the same result.
>
>Gotta be a simple issue I *think*. Any experience with this?
Happens occasionally. No other remedy but to rebuild the grid again.
If you have to change grid settings dynamically at run time (and to avoid this kind of issues), good idea is to create grid class capable of rebuilding itself based on custom properties. Normally I set up my grids by setting few custom properties; one for delimited list of cursor columns and second for delimited list of captions for each column header. (Could be more properties depend on grid purpose)
Then I call method which constructs the grid based on these property settings.
HTH
Sergio