Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I had posted the similar question before, But I still can't solve my problem
>
>I got several forms, which got 5pages frames,
>the no.of textbox over 50 , there are 2 grids,
>
>In the data environement , I put around 22 tables,
>1 is company tables, which got over 3000 thousand records.
>around 7 tables got over 1000-4000 records.
>
>Now , as I load the run from the menu bar,
>It spends the time over 30-40 seconds.
>
>IF there is no records in all tables.(except the company, currency,country) ,
>It spends the time over 5 seconds,
>
>My problem is 'Are There too many object, so that the loading time is too long' ?
>
>Or. My form got too many tables, ? (I got put the tables, No'views')
>
>Any solutions can make the form load much faster ?
>
>Thanks.
>From Agnes
A thing i've done with big forms is only loading the parts directly visible.
So only the things on page one.
The controls on page2 (and the other ones) i placed in a container class.
When the page gets activated i programaticly add the container to the form.
Another thing you can do is have the tables opened at application startup.
The you only have to open them once, and not every time the user opens the form
In my case i'm now opening all my base tables at startup, and the form specific tables in the dataenvironment of the form.
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