Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Init event
Message
 
To
05/06/1997 12:07:51
Holly Clawson
Travelcenters of America
Westlake, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00035152
Message ID:
00035239
Views:
44
>>>Does anyone have an idea on this. I create 3 different arrays in the init event of the formset. The first time I run the form the arrays are created, but when the got focus of the first control is taken the arrays are gone and can not be found. Although, after run the form the first time I can run as many times as I want and the arrays are found.
>>>
>>>Holly Clawson
>>
>>You could create the arrays as properties as Edward suggested or move the code to the load method. Problem is the controls need the arrays created when they are loaded and the form init method doesn't fire until all items in the form are loaded. The first thing to fire is the form (formset) load method.
>
>
>Even if I create the arrays in the load event the first time through I get the error array does not exist. I put the code in all of the load events for all the forms I use. Same thing.

when all else fails, try the beforeloadtables method in your data environment
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform