Results 1 to 3 of 3
  1. #1
    rpochoda is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2012
    Posts
    2

    Query is updateable, form is not


    I have a form where the data source is a SQL query set dynamically in VBA based on entries in two unbound combo boxes. The query is a one-to-many join that selects one client from the one side table and one project from the many side table. If I copy the resulting query from the record source line in the form properties to a SQL query screen, the query results are updateable (even the one side, which surprised me). But the same data in the form, even those fields from the many side, is not. What am I missing? This is a standalone database, no networking, sharing, privileges, etc.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Should use a form/subform arrangement for data entry/edit. If you want to provide db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    rpochoda is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2012
    Posts
    2
    Thanks for your reply. The error has been found. There was a vestigial DISTINCT in the VBA version of the query which I didn't catch because I was only looking at the query in the form data source properties.

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

Similar Threads

  1. updateable query with max()
    By ElRudi in forum Queries
    Replies: 11
    Last Post: 12-15-2011, 02:55 PM
  2. Must use updateable query
    By adams.bria in forum Queries
    Replies: 1
    Last Post: 08-29-2011, 10:31 AM
  3. Need Query To Be Updateable
    By robsworld78 in forum Queries
    Replies: 11
    Last Post: 07-17-2011, 09:06 PM
  4. Non-Updateable Query
    By swalsh84 in forum Queries
    Replies: 4
    Last Post: 04-27-2011, 12:39 PM
  5. Operation must use an updateable query
    By skaswani in forum Queries
    Replies: 0
    Last Post: 12-23-2010, 11:59 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