Results 1 to 4 of 4
  1. #1
    stingray_69 is offline Novice
    Windows XP Access 2002
    Join Date
    Mar 2010
    Posts
    2

    Cannot not edit form

    I have a form where I cannot edit the data on the form. It did work when I had it pulling data from one table but then I edit the sql statement to union in another table and not I can view the information by not make any changes. I am assuming this is because of the union statement. Is there any way to have the form allow edits with a union of two tables?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    In a word, no. A UNION query will never be editable. If you didn't actually mean a UNION query, here are some general thoughts:

    http://allenbrowne.com/ser-61.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    stingray_69 is offline Novice
    Windows XP Access 2002
    Join Date
    Mar 2010
    Posts
    2
    Thanks! I was afraid of that but I ll just add another table to my form instead of unioning the two tables together.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    A UNION query is often a sign of an incorrectly designed database. Make sure your tables are properly normalized, and that you don't have tables for similar things, for instance a table for each year, product, etc.

    Welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 7
    Last Post: 12-24-2009, 08:44 PM
  2. Form not letting me edit records
    By bbylls in forum Forms
    Replies: 3
    Last Post: 12-16-2009, 09:30 AM
  3. Replies: 3
    Last Post: 07-30-2009, 07:12 AM
  4. Combo-box to select item to edit in Form
    By DHavokD in forum Forms
    Replies: 7
    Last Post: 06-05-2009, 01:39 PM
  5. Most reliable way to edit form data in VBA...?
    By samalter in forum Programming
    Replies: 0
    Last Post: 06-23-2006, 12: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