Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow Form
Message
De
20/04/2000 09:14:27
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
20/04/2000 08:42:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00361740
Message ID:
00361748
Vues:
13
Hi Kev,

The first thing I would look at is the NoDataOnLoad property for each of the views in the DE. If this is set to .F. (default) then the views will be populated with data on loading the form. Rather than opening them in code (as you seem to be suggesting), set the NoDataOnLoad property to .T. and issue a Requery() command when you need the view.

Also, a form with a lot of controls (10 pags of controls seems a lot to me) does take longer to load than smaller ones.

HTH

Liam






>Can anyone advise.
>
>I have a form with:
>
>10-page pageframe
>54 views - total of 35 base tables
>7 foxpro-dos tables
>
>The form runs perfectly fine, but it takes a very long time to actually load.
>
>The app is running on an NT server, it's fine locally, but that figures anyway.
>
>I was thinking of only opening the views/tables when they are required, that is, say, when a pageframe is activated.
>
>Is this a good idea, or should the views be left in the DE to be loaded up.
>
>Help greatly appreciated.
>Thanks
>Kev
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform