Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View goes to last record when cancelling a new record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00124611
Message ID:
00125456
Vues:
35
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform