Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Placement of code to open dbf of a form
Message
De
24/09/2001 11:09:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00559999
Message ID:
00560003
Vues:
21
>What is the proper form:procedure to place code that opens databases used by a form, form:Load or form:Init?
>
>Txs

Load(). Init() is too late. The reason is that for every form object, Object.Init() fires after Form.Load(), but before Form.Init(). If your tables are not opened before this, you will get error messages if any object uses a ControlSource.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform