David Tremain
Active Member
In a Find/Browse form in an application, I want to be able to execute a row exit that does a find as part of its functionality. But then, I want to restore the user to the row they had selected when they performed the row exit. The find is to update row highlighting, and certain calculated quantities - not to change which records are selected.
I have had no success with system functions Get Selected Grid Row Number(FC Grid, VA frm_CurrentGridRow) and a later call to Get Grid Row(FC Grid, VA frm_CurrentGridRow). VA frm_CurrentGridRow is based on alias [$LIC], a MATH_NUMERIC with a size of 15, no edit rule, and 0 decimals.
I thought of stepping through each grid row, and looking for key information until I found the right record, but was concerned about performance issues when there are a significant number of records included in the grid.
Any suggestions on how to do this? A bookmark / restore feature similar to that found in MS-Word would be helpful.
I have had no success with system functions Get Selected Grid Row Number(FC Grid, VA frm_CurrentGridRow) and a later call to Get Grid Row(FC Grid, VA frm_CurrentGridRow). VA frm_CurrentGridRow is based on alias [$LIC], a MATH_NUMERIC with a size of 15, no edit rule, and 0 decimals.
I thought of stepping through each grid row, and looking for key information until I found the right record, but was concerned about performance issues when there are a significant number of records included in the grid.
Any suggestions on how to do this? A bookmark / restore feature similar to that found in MS-Word would be helpful.