Results 1 to 2 of 2
  1. #1
    ymds is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    19

    can't update form - recordset object...

    when i try, i get a message that i can't update recordset object..



    i didn't define nothing as recordset boject. why is it happen?
    when i create a form with only one table fields i can update my form.
    but when i add more fields from other tables i get that message and cannot update anything...

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    When you create a form, it is bound to a table or a query (that joins several tables). The table or query to which a form is bound is the recordset object.

    This link has more details on what is causing the error. In order to avoid the error, it is best to have a form-subform set up with the form bound to the table of the one side of a one-to-many relationship and the subform bound to the table that makes up the many side of the relationship.

    For example, let's say that you have a table of companies and each company can have many employees (one company to many employees relationship). You would create a form based on the companies table and then you would add a subform based on the table that holds the related employees.

    In your case, you should separate some of the fields (controls) into a subform. Exactly which ones to separate depends on your table structure, so in order to help you further, we would need to see what your tables look like and how they are related.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. form controls & recordset
    By slow&steady in forum Forms
    Replies: 2
    Last Post: 06-25-2010, 02:49 PM
  2. Windows 7 and OLE object in a Form
    By TJ_Hahn in forum Access
    Replies: 3
    Last Post: 05-28-2010, 06:06 AM
  3. Replies: 1
    Last Post: 11-13-2009, 03:03 AM
  4. Show all recordset in form/subform
    By Brian62 in forum Forms
    Replies: 4
    Last Post: 11-04-2009, 11:56 AM
  5. Replies: 2
    Last Post: 10-01-2009, 03:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums