Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Placement of code to open dbf of a form
Message
From
24/09/2001 11:09:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00559999
Message ID:
00560003
Views:
20
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform