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:
00125456
Views:
36
>>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.

Thanks Jim for your reply, but I´m just not understanding why in the ProjMgr example this problem doesn´t occur.
Hey Kevin, do you have the answer ?

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform