Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form is slowwww....when is the DE loading in a form?
Message
From
05/09/2001 17:31:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00552849
Message ID:
00552855
Views:
24
>I have a form that is very slow to load.
>I wonder how I can find the bottle neck here.
>When is the dataenvironment loading ? In the Init part of the form ?

If you have AutoOpenTables = .T. the tables get opened before the Load().

You don't tell us anything about the form. Do you load really large local views, or page frames with many controls, for example?

You can try using SET COVERAGE TO MyCoverage.TXT before you do your form, then SET COVERAGE TO in the init() of the form (at the end), then load the TXT file in the Tools | Coverage Profiler to see what code executes and how long it takes.
Previous
Reply
Map
View

Click here to load this message in the networking platform