Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speeding up Form Creation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00295725
Message ID:
00295754
Vues:
20
Start up coverage profiler and see where VFP is spending its time.

>Hi Evan,
>
>All my tables are being opened when the app first starts. I use Visual Maxframe Professional and it does this by default.
>
>>Hi Paul.
>>
>>Another option is to open all of your tables when you start the app. Then when forms access the tables in a private datasession they don't reload the data. Some have said that VFP does an implicit "use again"
>>
>>>I have noticed that my form's instantiation speed is determined by the size of the files in the data environment.
>>>
>>>I have a form that has a table with 350,000 records and another table with about 200,000 records. When I issue the do form it takes 15 seconds for the form to load. If I zap these tables then it takes about 4 seconds.
>>>
>>>What is happening here? Is there some setting I can set to speed this up. I don't think my customer's are going to find this acceptable.
>>>
>>>Thanks,
>>>Paul
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform