Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trap cancel from Modify Structure
Message
De
11/09/2001 19:38:50
 
 
À
07/09/2001 15:36:37
Denis Filer
University of Oxford
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00554022
Message ID:
00555317
Vues:
15
Hi Denis.

>In my application, users are allowed to modify the structure of some files. A loop checks if essential fields have been tampered with and forces the fields back in place. But if they screw up and decide to Cancel the FoxPro Modi Struc form, can I trap that after the modi struc command in my code?

This may not be immediately useful to you, but in VFP 7, you can create a database event (assuming these are tables in a database rather than free tables) called DBC_AfterModifyTable. This event receives an lChanged parameter that, if .F., means the user either cancelled or chose OK but didn't actually make any changes.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform