Results 1 to 8 of 8
  1. #1
    jaybee3 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    4

    Table '' is read only

    Hi there,

    First off here's the structure of my database:

    I have a form (addResource) that is launched from another form (MENU) in order to update the records in the Resource table.

    addResource contains what's in the table Resource.



    This works fine when opening the form on it's own from the navigation bar on side but when it's opened from the MENU form, and I beging to type in the Resource Name box I get "Table '' is read only".

    Any suggestions?

    If you need more details I'll be happy to oblige.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What code is being used to open the addResource form from the MENU form?

  3. #3
    jaybee3 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    4
    DoCmd.OpenForm "addResource", acNormal, "", "", acAdd, acDialog

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What is the RecordSource of your addResource form. Query? Table?

  5. #5
    jaybee3 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    4
    Table (Resource)

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Ahh...make it a query of the table rather than the table directly and that should eliminate your issue. It sounds like some other object already has the table open.

  7. #7
    jaybee3 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    4
    Ok, tried that, now I get a blank form with no visible fields.

    EDIT: Found the culprit. I had a subform on my Menu that was hidden underneath another control and it was set to All Locks.

    Cheers for your help RuralGuy

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Great! If you are good to go then go ahead and use the Thread Tools and mark this thread as Solved.

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

Similar Threads

  1. Replies: 7
    Last Post: 03-22-2011, 10:36 AM
  2. can a access database table be read-only?
    By princess-1 in forum Access
    Replies: 5
    Last Post: 10-24-2010, 07:52 PM
  3. Read Sql Express Table from MS Access
    By GUKGUK in forum Forms
    Replies: 1
    Last Post: 10-12-2010, 06:34 AM
  4. ODBC table read to blank Access table write
    By dibblejon in forum Access
    Replies: 2
    Last Post: 03-10-2010, 08:39 AM
  5. Replies: 2
    Last Post: 10-19-2006, 04:37 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