Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Revert Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00083629
Message ID:
00083949
Vues:
22
>>>>Hello All;
>>>>
>>>>We've created a database with certain rules and messages.
>>>>at the field level. When a user enters a value that breals
>>>>these rules, VFP issues a messagebox with the ok, revert
>>>>and help command buttons.
>>>>The reason is that the revert button literally reverts
>>>>all changes on the record and not just the specific fields.
>>>>
>>>>How do I go about controling these buttons - specifically
>>>>I want only the OK button??
>
>Sandy,
>
>A rule failure generates an error condition, if you have no ON ERROR handler in your application then you get the message box you described. Write an ON ERROR handler that handles errors 1583 and 1582. Of course you will want to handle most of the other errors as well, but those tow are the field rule and the table rule errors.

Thank you Jim
Sandy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform