ACC2: Scrolling Records with Unbound Combo Box Takes Longer

Last reviewed: May 14, 1997
Article ID: Q119708
The information in this article applies to:
  • Microsoft Access version 2.0

SYMPTOMS

Navigating among records can take longer after you search for a record in a form using an unbound combo box.

RESOLUTION

To work around this problem, set the ColumnWidths property for the first column in the combo box to something other than 0 (for example, 0.001), or set the combo box's BoundColumn property to something other than 1.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access version 2.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open the sample database NWIND.MDB.

  2. Create a blank, new form based on the Order Details table, and add the Order ID and Unit Price fields to the form.

  3. Add an unbound combo box to the form with the following properties:

          Name: Lookup
          RowSource: Order Details
          ColumnCount: 2
          ColumnWidths: 0;1
          BoundColumn: 1
    

  4. Create the following macro in the combo box's AfterUpdate property, and then save and close the macro.

          Macro Actions
          -------------
          GoToControl
          FindRecord
    

          Action Arguments
          -------------------------------------
          GoToControl
    
             Control Name: Order ID
          FindRecord
             Find What: =Forms![Form1]![Lookup]
    
    

  5. Save the form as Form1 and then switch to Form view. Use the record navigation buttons to scroll through the records.

  6. Select a record from the bottom of the Lookup combo box list.

  7. After the record you selected is displayed, use the navigation buttons to scroll through the records again. Note that it takes longer to navigate among the records.

REFERENCES

Microsoft Access "User's Guide," version 2.0, Chapter 25, "Using Macros with Forms," pages 651-652


Additional query words: retrieve moving performance
Keywords : FmsCmbo kbusage
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.