ACC2: Adding Records to AutoLookup Form Generates ErrorsID: Q116062
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you are adding a record to a form based on an AutoLookup query, one
of the following messages is generated when you try to enter anything in
the foreign key field:
To make changes to this field, first save the record
-or-
Current field must match join key "?" on 'one' side of outer join
-or-
Field can't be edited
You have one or more default values set on form control(s) bound to the one-side table in your AutoLookup query.
Make sure that the form control(s) on the "one" side have no default values set.
When you enter a value in the foreign key field in an AutoLookup query,
fields from the one-side table should update automatically with related
information. However, if you are adding a new record and one or more
fields from the "one" side has a default value, Microsoft Access assumes
you are trying to add a record to the "one" side as well as to the "many"
side.
If there are no default values for any of the many-side fields, when you
enter a value in the foreign key field after making an entry in another
field from the many-side table, you receive the error message:
Current field must match join key "?" on 'one' side of outer join
To make changes to this field, first save the record
For more information about the AutoLookup feature, search for "AutoLookup," and then "Looking Up Information Automatically (AutoLookup)" using the Microsoft Access Help menu.
Additional query words: rowfixup defaultvalue
Keywords : kbusage FmsProp
Version : 2.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 3, 1999