Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another user has changed or deleted the... - not refresh
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00434152
Message ID:
00434179
Vues:
19
OOOPS!.... Actually, it dawned on me after I posted this that the Requery() can't be called. Anyway, I checked in to it and it looks like the framework tries to REFRESH() the view, and then does a ROLLBACK... and then calls the BizObj's Cancel() method.

You can check it out in the KBizObj.ErrorUpdateConflict() method.

>Ted,
>
>I believe the framework will automatically call the form's Requery() method.
>
>>We are getting the "Another user has changed or deleted the data. Do you want to update your data with the original values? (All your changes will be lost.)" alert message during a save.
>>
>>The error message is correct, but when you select the "Yes" button, shouldn't the local view's data be refreshed with the backend data from the table? Should the framework be doing this automatically? Or if the developer must trigger something manually, where/how is this done?
>>
>>TIA, Ted.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform