Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid as form navigation ... problem

Status
Not open for further replies.

Dazb75

Programmer
Aug 14, 2002
10
GB
I have a simple app which has one main form with two tabs. The 1st contains a grid which the user can sort any of the columns to help them locate cases. The 2nd tab contains the data about each case and has wizard buttons to enable them to add, edit and delete info.

The activate method of tab 2 calls a refresh so that the correct data is displayed.

The problem I am encountering is that when the user selects a mid-table record, clicks "edit" and then "revert", the pointer jumps back to the 1st record. I've tried saving the current recno() to a variable and then issuing a goto after the revert code has been executed, but to no avail.

Any ideas?
 
The problem I am encountering is that when the user selects a mid-table record, clicks "edit" and then "revert", the pointer jumps back to the 1st record. I've tried saving the current recno() to a variable and then issuing a goto after the revert code has been executed, but to no avail.

I am sorry, but my crystal ball appears to be malfunctioning today ;-). The problem is in your code, but since you have not shared any of that with us, it is difficult to help you figure out where it is.



Marcia G. Akins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top