Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View goes to last record when cancelling a new record
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00124611
Message ID:
00124765
Views:
42
>Suppose that I´m browsing (in a grid) a 100 records table view and I´m in the 20th record. Then I click on "New" and cancel this action. I want to be positioned in the same record that I was (the 20th). And this is what happens in the ProjMgr project.
>
>Thanks,

Jose,

Then add a property to your form named lastrec, in the code of your add button store the recno() before you append a new record. In the revert code you revert the new srecod and then GOTO THISFORM.LatsRec and refresh.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform