ACC: Form Based on Query May Not Be Updatable

Last reviewed: May 28, 1997
Article ID: Q98666
The information in this article applies to:
  • Microsoft Access 1.0, 1.1, 2.0, 7.0, 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

You may not be able to edit a form's record, even though the form's AllowEdits property is set to Yes. The message "This Recordset is not updatable" is displayed when you try to update data on the form.

NOTE: In version 1.x, this occurs when you set the DefaultEditing property to Allow Edits, and the error message displayed is "Form is read only."

CAUSE

If your form is based on a query that is non-updatable, you will not be able to modify data on the form.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create the following new query based on the Order Details table in the sample database Northwind.mdb (or NWIND.MDB in version 2.0 or earlier):

          Query: Orders
          -------------------
          Type:  Select Query
          Join:  None
          Field: Quantity
    
             Total: Group By
          Field: UnitPrice
             Total: Group By
    
          NOTE: In versions 1.x and 2.0, there is a space in Unit Price.
    
    

  2. Run the query, and then try to change the UnitPrice in any record. Note that you receive one of the messages described in the "Symptoms" section.

REFERENCES

For more information about updatable queries, search the Help Index for "update queries," or ask the Microsoft Access 97 Office Assistant.


Keywords : FmsOthr kbusage
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


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 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.