Results 1 to 3 of 3
  1. #1
    mp3909 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    154

    Turn query into table

    I have a problem.
    I have a query that is built by two underlying tables.
    I need to make a lot of amendments to the values in this query across different fields.
    I can do this by using the update statement but the problem is, my application is going to be used by someone who has no experience in Access. So the only reasonable way that can amend the values in this query is either by looking at the query result, double clicking on the cell in the table and manually type the new value.


    But the problem is, this is a query so modifications are not possible in this manner unless through SQL update.
    Also, the nature of the values that needs changing is dynamic in terms of the number of values that need changing, not static and it’s also up to the user discretion if he/she feels like it is reasonable to change it.

    I believe the best way to do this is if it is possible to somehow convert the query result into a table so that you can change the values?

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You can use a Make Table Query to create a Table from Query results.
    See: https://support.office.com/en-us/art...4-e21ad0a94f1b

  3. #3
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    Sounds to me like you should be basing a form on this query (assuming you can edit the query now). Making a table seems like an unnecessary step in that case. Then what? You have to create another query to update the data based on this new table? I don't see how having this table eliminates the need for picking and choosing fields in a query to make it in the first place.

    You said there were lots of fields. You didn't say if there were lots of separate updates. If many separate updates I think that just makes the situation worse when it comes to creating a new table. Why not just use a form and either a) directly edit the data if it's updatable or b) have the form unbound and create the sql in vba based on which fields have data? Using a form is more user friendly than getting someone to monkey with query design, IMHO.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 6
    Last Post: 11-21-2017, 10:24 AM
  2. Replies: 3
    Last Post: 10-24-2015, 04:46 AM
  3. Turn off Action Query confirmations
    By ssissons in forum Queries
    Replies: 2
    Last Post: 10-08-2014, 08:43 AM
  4. how to turn my expression in query to vba
    By sspreyer in forum Programming
    Replies: 7
    Last Post: 01-15-2014, 04:10 PM
  5. Replies: 4
    Last Post: 10-17-2012, 07:27 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