Rajesh Karunakaran
Programmer
Hi All,
I have a form. It has 1 grid and 1 Editbox. I have row HighLightStyle = 2 in grid. The record source is a Cursor. That cursor is updated from a timer. There may be new records coming in or existing ones removed during the update. Then, the user selects one record from grid. Then the ID from the cursor is SEEK in another base table and then the user can modify a field of that table through the Editbox.
1. But, when the grid is updated, the highlight goes away. Also, if the user has already selected a record to work and then after the grid got updated, I want that same record to be shown as highlighted.
What is the best approach for this ?
2. Suppose the user had selected the 3rd record in the grid and is working on that. Then, when the grid is updated, that record goes to the first visible row in the grid (making the 2 records above it go beyond grid display area). Is there any way to retain the display of records (I mean the order in which they were shown top to bottom in the grid rows) the same even after the record source refresh.
Thanks in advance
Rajesh
I have a form. It has 1 grid and 1 Editbox. I have row HighLightStyle = 2 in grid. The record source is a Cursor. That cursor is updated from a timer. There may be new records coming in or existing ones removed during the update. Then, the user selects one record from grid. Then the ID from the cursor is SEEK in another base table and then the user can modify a field of that table through the Editbox.
1. But, when the grid is updated, the highlight goes away. Also, if the user has already selected a record to work and then after the grid got updated, I want that same record to be shown as highlighted.
What is the best approach for this ?
2. Suppose the user had selected the 3rd record in the grid and is working on that. Then, when the grid is updated, that record goes to the first visible row in the grid (making the 2 records above it go beyond grid display area). Is there any way to retain the display of records (I mean the order in which they were shown top to bottom in the grid rows) the same even after the record source refresh.
Thanks in advance
Rajesh