D
darren via AccessMonster.com
Hi
I have a main form with a tab page with four subforms. Each subform has upto
40 fields of data. From these forms a number of related popup forms can be
opened.
At present with only a handful of records in it takes around 12 seconds to
open.
Auto name correct is off.
I have checked indexes.
Isolating the various subforms OnOpen and OnCurrent events brings the opening
time down to around 3 -4 secs.
Most of these events include a degree of setting defaults or requerying
certain controls/combo's to reflect changes. The some of these defaults reply
upon Lookups and for these I have used Allen Browne's ELookup suggestion.
These are having the effect of adding 3 secs per subform to the main forms
opening time.
I am considering trying to isolate these events to make them more specific to
when they are required. To be homest the OnCurrent events aren't really
required OnOpen but more likely on 'returning' to the forms from either other
tabs of popup forms.
Any thoughts or suggestions? Can't help thinking I'm missing something more
obvious, maybe my choice of events are not right.
Thanks in advance.
I have a main form with a tab page with four subforms. Each subform has upto
40 fields of data. From these forms a number of related popup forms can be
opened.
At present with only a handful of records in it takes around 12 seconds to
open.
Auto name correct is off.
I have checked indexes.
Isolating the various subforms OnOpen and OnCurrent events brings the opening
time down to around 3 -4 secs.
Most of these events include a degree of setting defaults or requerying
certain controls/combo's to reflect changes. The some of these defaults reply
upon Lookups and for these I have used Allen Browne's ELookup suggestion.
These are having the effect of adding 3 secs per subform to the main forms
opening time.
I am considering trying to isolate these events to make them more specific to
when they are required. To be homest the OnCurrent events aren't really
required OnOpen but more likely on 'returning' to the forms from either other
tabs of popup forms.
Any thoughts or suggestions? Can't help thinking I'm missing something more
obvious, maybe my choice of events are not right.
Thanks in advance.