Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Knowledge Articles
    4. Make Table queries in Voyager Prepackaged Access Reports

    Make Table queries in Voyager Prepackaged Access Reports

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Product: Voyager
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

     

    Question

    How to write a query in Prepackaged Access Reports that builds a new table (e.g., use the "Make Table" function in Access)?

    Answer

    Using the Make Table query type (as shown below), you can make your query select records from the database and save the records as a new table in Access.

    1. Open your query in the Design View and click on the "Make Table" function.

      MakeTable.jpg
       
    2. Name your table (note you can't have a table and a query with the same name).
    3. When you run your query for the first time, you'll get a pop-up that says: "You are about to paste xxx row(s) into a new table."
    4. If you run the query subsequently, you'll get a pop-up that says: "The existing table "xxxx" will be deleted before you run the query. Do you want to continue anyway?"
    5. After you run your Make Table query, you will see it as a Tables Object in the navigation bar.
    6. You can then use a different query that utilizes your new table. In other words, your results can be used by more than one query.
    7. Note that your Make Table queries will sort at the top of the list of Queries, because they are "different" than normal queries. Also note that they have a different icon than other tables:
       clipboard_e3a00630a2009a93e24aa94fcc44863e0.png

    Using Make Table is helpful if you need to run a query against a table that does not exist, and it is especially useful for BLOB function queries, or any other query which can run for a very long time.

    But note that Make Table queries are not necessarily any faster (or slower!) than normal queries.  The difference is in the latter the system will start giving your results right away, but in the former, the system can't show you any results until it has gotten all of them.

    An alternative to use Make Table is to use a subquery, which often will fill the same needs.

    Additional Information

    Constructing custom SQL queries by request and troubleshooting unexpected results from customer-created SQL queries falls outside the scope of Support. The above has been posted for informational purposes.  Voyager-L and Developer Network are useful resources for finding helpful custom SQL or obtaining assistance from peers in troubleshooting custom queries.


    • Article last edited: 03-Jun-2020
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Make a MARC subfield clickable (hyperlinked) in Voyager Tomcat Webvoyage
      • Making an exported MARC record file "human readable"
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Voyager
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved