General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only