ACC: Tips for Improving Subform PerformanceID: Q112747
|
Moderate: Requires basic macro, coding, and interoperability skills.
This article lists several things that you can do to improve the speed and
performance of your subforms.
To improve subform performance, try these tips:
Name: EmployeeIDOrderID
ControlSource: =[EmployeeID] & [OrderID]
NOTE: In Microsoft Access version 2.0, there is a space in the
[Employee ID] and [Order ID] fields.
Next, add the following field to the query that the subform is based
on:
EmployeeIDOrderID: [Employee ID] & [Order ID]
Then, link the main form and the subform on the concatenated field
rather than on the two individual fields. The subform properties might
look as follows:
LinkChildFields: EmployeeIDOrderID
LinkMasterFields: EmployeeIDOrderID
Because Microsoft Access only has to compare one criteria to return
the subform's recordset, the subform's performance should improve.
For more information about general performance and indexing recommendations, search the Help Index for "Performance Analyzer," or ask the Microsoft Access 97 Office Assistant.
Additional query words: speeding slow optimize
Keywords : kbusage FmsSubf
Version : WINDOWS:2.0,7.0,97
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: July 13, 1999