Hello
I have a form with 2 subforms set as Datasheet View and several text box controls.
The Text Box controls were displaying information from a Query based on DCount calculations. There are around 9 controls each with a DCount Datasource with the exception of the first control which Dcounts a field directly from a Table.
The ontimer of the form is set to requery both subforms and then the form itself (using me.requery) - thus refreshing the data.
When the form is refreshed the subforms repopulate quickly but the other controls are very slow with the exception of the first which DCounts directly from a table.
SO .....
Is it the queries that are slowing the form down ? Originally I was using 1 query and populating the DCount expression with criteria. As this was slow I created seperate queries so the DCount expressions did not require their own criteria. If anything this has made things slower.
The wait is around 15 to 20 seconds for the form to refresh. This is not unworkable but makes a 30 second form update less appealing as the form will then be empty (recalculating) for more time than it shows data.
Are there any suggestions for speeding this up ?
5 seconds would be reasonable.
I have looked in the forum already, the following suggestion:
go to TOOLS/OPTIONS then go to the GENERAL tab and uncheck all of the NAME AUTOCORRECT. This will speed up your forms opening up.
did not yield a result when opening the form and anyway, the form does not close it simply requeries the underlying data sources.
I have a form with 2 subforms set as Datasheet View and several text box controls.
The Text Box controls were displaying information from a Query based on DCount calculations. There are around 9 controls each with a DCount Datasource with the exception of the first control which Dcounts a field directly from a Table.
The ontimer of the form is set to requery both subforms and then the form itself (using me.requery) - thus refreshing the data.
When the form is refreshed the subforms repopulate quickly but the other controls are very slow with the exception of the first which DCounts directly from a table.
SO .....
Is it the queries that are slowing the form down ? Originally I was using 1 query and populating the DCount expression with criteria. As this was slow I created seperate queries so the DCount expressions did not require their own criteria. If anything this has made things slower.
The wait is around 15 to 20 seconds for the form to refresh. This is not unworkable but makes a 30 second form update less appealing as the form will then be empty (recalculating) for more time than it shows data.
Are there any suggestions for speeding this up ?
5 seconds would be reasonable.
I have looked in the forum already, the following suggestion:
go to TOOLS/OPTIONS then go to the GENERAL tab and uncheck all of the NAME AUTOCORRECT. This will speed up your forms opening up.
did not yield a result when opening the form and anyway, the form does not close it simply requeries the underlying data sources.