>>>Does anybody know how to change the current row in a grid by program. I am using GETNEXTMODIFIED(), GO , and need to change the current row in the grid to match the database record now pointed to. >> >>Hi Nigel, >>It should be there. You mean moving the record mark ? If so without a dynamicbackcolor you could use a trick : >>
>>* On a controlother than grid
>>thisform.grid1.setfocus&& Set focus to grid
>>this.setfocus&& Set focus back to control
>>
>>Cetin > >Many thanks for your response. However, I did find that I had to reset the column bound property to true to enable me to pick up the correct value from the column textbox. Issuing a setfocus sent the grid record pointer to the first record in the grid, not the database record??? I had to try a number of different ways to get this to work! > >Nigel. Hi Nigel, There is something else wrong with this. Setting focus to grid and then back doesn't take you to the first record. Could it something like refresh and this is child table ? Cetin