Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Repeatable C000005 - try this
Message
De
10/09/2002 15:09:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00698912
Message ID:
00698978
Vues:
30
Hugo,

Moving the code to the init would be too late. If the data environment fails to load (producing an error that we need to trap) and we allow it to pass through to the init before trapping it, what happens when the bound controls on the form begin to init - more errors.

This technique worked great in VFP6 - Nothing on the form even attempts to initialize if the tables are not available. It simply tells the user someone else is using the system exclusively with a messagebox and the form is never loaded.

Thanks for confirming my pain.

Regards,
~Erik Folley
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform