Results 1 to 4 of 4
  1. #1
    janthony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    15

    Form / Query question - Can't update?

    I'm not sure if this is a form or a query question...

    So, I have a Form based of on a query.



    The query contains:
    From Customer table: Customer name -> Where Like "*" & [Forms]![Menu]![CName] & "*"
    From Employee table: Employee name -> Where Like "*" & [Forms]![Menu]![EName] & "*"
    etc.
    It also contains the main Sales Transaction info, like Customer ID (foreign key), Employee ID (foreign key).

    When designing the form, I also added the Subtransactions info (which created a Subform) which contains:
    Product Name
    Product Price
    Quantity
    etc.

    The form does display Sales Transaction information and filters the information as intended (i.e. by Customer, Employee).

    However, using the form I can't update the main Sales Transaction info. The Customer ID, Employee ID, etc. fields have dropdowns like I would be able too, but Access is giving me error in the status bar: The Recordset is not updateable.

    I had this same form that worked properly (i.e. allowed updating of Customer ID, Employee ID) but without the query. So I'm thinking this is a query issue? -_- I just needed a way to allow users to filter the listing somehow, since going through thousands of Sales Transactions probably wouldn't be fun.

    Basically, what I am looking to do is allow users to search for Sales Transactions (which also shows the Subtransactions) based on query parameters like Customer, Employee, Date, etc. Is there anything I'm missing or is there any other way to go about this? I feel like I'm really close but so far!

  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,652
    Probably the query:

    http://allenbrowne.com/ser-61.html

    I would imagine the form's source shouldn't contain those tables, just the combo row sources.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    janthony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    15
    That stuff is way over my head -_- I tried doing some of the stuff it said in there but no luck. Any other suggestions for how I can do this?

  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,652
    You mean other than

    Quote Originally Posted by pbaldy View Post
    the form's source shouldn't contain those tables, just the combo row sources.
    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: 1
    Last Post: 01-25-2013, 10:34 AM
  2. Replies: 3
    Last Post: 06-28-2012, 09:36 AM
  3. Update Query Question
    By Profector in forum Queries
    Replies: 2
    Last Post: 10-13-2010, 09:24 AM
  4. Update Query Which Asks Question
    By jhillbrown in forum Access
    Replies: 3
    Last Post: 02-15-2010, 06:36 AM
  5. update query question
    By blusk06 in forum Queries
    Replies: 3
    Last Post: 05-30-2008, 05:55 AM

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