Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Load() and init() methods
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011101
Message ID:
00011136
Views:
35
>>I don't still really know when to use place my "init" code when loading a form or formSet, either in the init() or load() methods. Can anyone give me some advice on how and when to use one or the other?
>>
>>Thanks,
>>Javier.
>If you need to create cursor/table/view via an sql that will be used in the form/formset as part of the controlsource for any controls it will need to be done in the load so that when the controls are loaded/inited they will have a vaild source.
>
>Parameters passed to the form must be passed with a parameter statement to the init method.
>
>Other wise they are interchangeable.
>
>HTH

I think that parameters it a good reason to

Rock
Previous
Reply
Map
View

Click here to load this message in the networking platform