Results 1 to 7 of 7
  1. #1
    jabrjo is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    33

    Automatically open Make Table from Query

    Hello,



    I am creating a form that has a number of parameter based button queries. I want to be able to click the button, run the query and open the newly updated make table. Is there a way to get the "make table" to automatically display (without the user going into the table list and selecting the table)?

    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why are you making new table? Process that regularly creates new tables is poor design.
    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
    jabrjo is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    33
    Im not very good with Access and it was the only thing i could think of right away...
    I want the user to be able to reference data in the database without actually being able to edit the main table.
    Here is what i need if you have a better solution that would be fairly easy to implement (via the design view/expression builder). I want the user to be able to select the city, state, or region via a form, then have all the records associated with the selection (city, state or region) display in a separate table/form/report.

    Would a SubFrom be a better option?

    Let me know your thoughts and I'm open to any suggestions.

    Thanks!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I don't know your data structure. You have a 'main' table with some unique records then there is a related table with more data you want to allow users to view? Do you want them to be able to edit these records?
    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.

  5. #5
    jabrjo is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    33
    If the query opens a subform with all selected records, then yes editing would be great. If the query opens a related table, i just want it to be used as a reference.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Query does not open anything. An Access query is an object that can be opened. A form (or report) can be based on a SELECT query. Can open form or report and apply filter criteria.

    Options for filtering records:

    1. open table or query and apply filter with the intrinsic Access sort/filter tools

    2. static criteria manually typed into a query design or dynamic popup parameters in query (I NEVER use query popups)

    3. open form or report based on query and pass filter criteria to the form or report object
    Review:
    http://www.datapigtechnologies.com/f...tomfilter.html
    http://allenbrowne.com/ser-62code.html
    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.

  7. #7
    jabrjo is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    33
    Thanks for taking the time to help!

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

Similar Threads

  1. How do I make a form come up automatically?
    By Nick Lingenfelter in forum Access
    Replies: 4
    Last Post: 02-27-2013, 09:31 AM
  2. Make Run Query to open a Form instead of a list
    By damiendellon in forum Queries
    Replies: 3
    Last Post: 01-17-2013, 10:48 PM
  3. Add Event To Automatically Run Make Table Query
    By symphony in forum Programming
    Replies: 1
    Last Post: 07-18-2011, 08:11 AM
  4. Run Make Table query automatically
    By tuna in forum Queries
    Replies: 5
    Last Post: 05-10-2010, 03:15 AM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 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