Hi,
I have looked here, and Google-ed this, and I can't find a solution, so I'll post this here and hope someone has an answer.
The pointer is on a row in the grid - say it's the fifth row in the grid. I have to rebuild the grid which includes changing its RecordSource - it stays the same - I'm not using a different data source, but the RecordSource property is reset by the grid "rebuild" code (I call the Grid.Init() and some other methods). The main reason I rebuild the grid is because I change the number of columns (note that setting Column[x].Visible isn't applicable for this app).
Once I do the rebuild of the grid I want the pointer to stay on the same record (not a problem - I can make that work) and I want the highlighted row to still be the fifth row in the grid (that's my problem).
Any ideas?
Thanks,
Bill
I have looked here, and Google-ed this, and I can't find a solution, so I'll post this here and hope someone has an answer.
The pointer is on a row in the grid - say it's the fifth row in the grid. I have to rebuild the grid which includes changing its RecordSource - it stays the same - I'm not using a different data source, but the RecordSource property is reset by the grid "rebuild" code (I call the Grid.Init() and some other methods). The main reason I rebuild the grid is because I change the number of columns (note that setting Column[x].Visible isn't applicable for this app).
Once I do the rebuild of the grid I want the pointer to stay on the same record (not a problem - I can make that work) and I want the highlighted row to still be the fifth row in the grid (that's my problem).
Any ideas?
Thanks,
Bill