Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trap cancel from Modify Structure
Message
From
11/09/2001 19:38:50
 
 
To
07/09/2001 15:36:37
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00554022
Message ID:
00555317
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform