Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement