Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The field order in a form differs from the field order in a record source in Access 2007


View products that this article applies to.

Symptoms

In Microsoft Office Access 2007, when you drag fields to a form, the field order in the form differs from the field order in the record source. This issue occurs if the following conditions are true:
  • You drag the fields from a table in the record source.
  • You drag the fields to the form in Layout view.

↑ Back to the top


Cause

This issue occurs because the order in which fields appear in a table in a record source is not related to the order in which Access 2007 returns the fields.

↑ Back to the top


More information

Steps to reproduce the problem

  1. Open a database in Access 2007.
  2. Close all open objects.
  3. On the Create tab, click Blank Form in the Forms group.

    The form opens in Layout view. And, blank field list appears on the form.
  4. Press ALT+ENTER to open the property sheet of the form.
  5. Click the Employees table for the record source.
  6. On the Formatting tab, click Add Existing Fields in the Controls group.
  7. Examine the order of the fields in the Field list. This order should match the order of the fields in the table.
  8. Select all the fields, and then drag all the fields to the Layout form grid.
  9. Examine the order of the fields in the Layout form grid. Then, compare this order to the order of the fields in the table.

↑ Back to the top


Keywords: KB926957, kbexpertiseinter, kbprb, kbbug, kbtshoot

↑ Back to the top

Article Info
Article ID : 926957
Revision : 2
Created on : 10/15/2007
Published on : 10/15/2007
Exists online : False
Views : 196