Information générale
Catégorie:
The Mere Mortals Framework
Hi Bob, pardon me for jumping in.
Do you have a pageframe on your form?
If so, and you need a bizobj for each page, you can turn their autorequery property off and call the REQUERY() yourself in the page.activate(). We bundle all of our controls for each page in it's own container and then in the page.activate, check to see if the VARTYPE() of that container is an 'O'. If so, we know that the user has already been to this page and we skip all the code that instantiates the container with the controls in it and the requery(). If this is the first time the user has activated this page, (VARTYPE() = "U") we create the container with the controls and then call a requery(). If you have several pages with several controls, this will speed your forms instantiation dramatically.
Précédent
Suivant
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