revver
Active Member
- Joined
- Dec 20, 2007
- Messages
- 257
PRELIM INFO
ACC2003. The setup is typical FrontEnd / BackEnd both in the same folder.
I have a form with 2 subforms, one each on page2 and page3 of a tab control. There isn't much data in the main table, a little in one linked table and almost none in the other linked table. There are two DLookup text boxes on the form to display sensible data rather than a code which is stored in the main table.
This should not cause a slowness problem and doesn't on my development machine. In production, however, it can be frustratingly slow moving from one record to the next (ie populating the form).
There is some minor code in the OnCurrent event. It synchronizes 2 combo boxes with the current record and checks if the item is inactive and, if so, changes some font colours and labels.
THE PROBLEM
When moving to the next (or prev) record OR using one of the find combo boxes to display a different record, there is a delay of many seconds, sometimes close to a minute, before the form is populated. Neither subform is visible at this stage. The message "Calculating ..." appears on the status bar during this delay.
Is there any way I can find out where the problem is?
ACC2003. The setup is typical FrontEnd / BackEnd both in the same folder.
I have a form with 2 subforms, one each on page2 and page3 of a tab control. There isn't much data in the main table, a little in one linked table and almost none in the other linked table. There are two DLookup text boxes on the form to display sensible data rather than a code which is stored in the main table.
This should not cause a slowness problem and doesn't on my development machine. In production, however, it can be frustratingly slow moving from one record to the next (ie populating the form).
There is some minor code in the OnCurrent event. It synchronizes 2 combo boxes with the current record and checks if the item is inactive and, if so, changes some font colours and labels.
THE PROBLEM
When moving to the next (or prev) record OR using one of the find combo boxes to display a different record, there is a delay of many seconds, sometimes close to a minute, before the form is populated. Neither subform is visible at this stage. The message "Calculating ..." appears on the status bar during this delay.
Is there any way I can find out where the problem is?