Results 1 to 5 of 5
  1. #1
    anne_l is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2022
    Posts
    2

    Lightbulb [COMBINE SEVERAL TYPES of QUERIES] EDIT AND ANALYZING QUERIES TOGETHER

    Hi,
    I would like to create a query combining several tables that are related by primary and foreign keys of course.
    I would like to make this query editable.
    I saw this is possible when you use the "update" button.
    The problem i have is part of my query use "anaysis" (putting fields'values as columns) and it seems not possible to edit a analysis query.
    I never coded in my life and just start with access.


    I would like to know if this is possible or not

    Thanks a lot for your help!


    Anne

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    There are many reasons why a query may not be editable.
    It sounds like you're saying this is a cross tab query and if that is the case, the article says it's not possible.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    anne_l is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2022
    Posts
    2
    Thanks, i saw it was not designed to make it possible already, but i wondered if there was an alternative way to do it.
    Btw they dont' explain why, they just say it's not possible if you use some operators, but if you have a unique value in your cell, that would have been great to let it editable.

  4. #4
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    If it is a cross tab, the only way to allow you to update it would be to dump the query results into a temporary table.

    You then have the entertainment of "unpivoting" the temp table data back into your original data tables after updating it, not a trivial task unfortunately.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    Usually you don't allow users to work directly with tables and\or queries, so instead of editing directly in the query you should look into using a form bound to that query. Now in a form, using VBA, pretty much everything is possible... And the form can be a datasheet that would look similar to the original query.
    I suggest you prepare a small db sample with just the objects involved and no private\sensitive info and post it here so we can have a look.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

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

Similar Threads

  1. Cant combine queries
    By SiebeD in forum Queries
    Replies: 5
    Last Post: 03-09-2021, 09:02 AM
  2. Replies: 1
    Last Post: 07-29-2014, 06:00 AM
  3. Totals queries with multiple product types
    By mike_980 in forum Queries
    Replies: 1
    Last Post: 03-28-2014, 01:42 PM
  4. Combine three queries into one
    By Ray67 in forum Queries
    Replies: 8
    Last Post: 06-13-2012, 11:23 AM
  5. Replies: 5
    Last Post: 12-23-2011, 05:44 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