/
Queries 101 - Basics
  • In progress
  • Queries 101 - Basics

    Queries allow for users to search in AiM with a defined set of criteria. The query results will display a specific set of data based on the criteria selected. The search criteria fields contain operators that can be used to search records in different ways, such as “Starts with”, “Ends with”, or “Contains”.

    • A search/query exists for every single record in AiM. There is no limit. If the data is in the system, you can query it.

    • Queries can be built for a single search or saved for future use. Saved queries

      • Can be made into a Dashboard Widget and shared with a group.

      • Can be used for Highcharts and added to Dashboard Widgets.

    • You can access the Query/Search screen in a couple of ways:

      • Clicking on a magnifying glass icon at any level within the AiM platform.

      • Inside any Record that you have open, click on the blue Search button. This will take you to the Query/Search screen for that specific Record and the Module it’s in.

    1. To navigate to a query screen, from the WorkDesk, click on any module in the left hamburger icon Menu.

    2. In the next screen, you will find additional left menu options, some of which have a magnify glass icon next to them.

    3. Click on a magnify glass icon next to your menu choice for which you would like to create a query for.

    4. These three buttons can be found at the top-left of a query screen:

      1. Execute - Runs the query

      2. Basic Search/Advanced Search - This is a toggle. The button will show which option you will go to by clicking it. NOT which option you are on.

      3. Reset - Resets the entire query screen to their default settings.

    5. On a query screen, under Action (left menu), you will find the link to open and create a New Query.

    6. Below the Action menu, under the View menu, you can also find any past queries you have saved.

    screenshot-search-query-screen_aj.jpg

    Display Order is a functionality of the Query screen that allows you to set the order of the columns of information that will show up in the search results screen.

    By default, each query will display a set of predetermined fields. Predetermined fields can be overridden by placing numbers in the boxes under the Display Order column. Once a number is entered, only numbers with values entered will be displayed. With this feature, it’s best to start with numbers like 10, 20, 30, etc. to allow other elements to be added in between without having to renumber other fields.

    AiM often remembers information from your last search. Whenever creating a new search, click on Reset

    After setting up your Display Order and pressing Execute, the columns in your search results screen will display in the order relative to the numerical values you entered.

    Under the Action menu on the left, the search can be exported to Excel by clicking on Export.

    In addition to the ability to set the Display Order using numbers in the designated fields, another part of the Display Order feature includes the ability to select between Ascending (Asc) or Descending (Dsc).

     Step-by-Step Tutorial

    🟩 Query Overview

    Why will a Query help me? When using a database full of information you will want to retrieve very specific records. These records can be obtained by utilizing a query. 

    🟩 Anatomy of a Query Screen

    Queries allow for users to search in AiM with a defined set of criteria. The query results will display a specific set of data based on the criteria selected. For example, the search criteria fields contain operators that can be used to search records in different ways, such as “Starts with”, “Ends with”, or “Contains”.

    Basic Overview

    Display Order - Numerical Order

    Display Order - Asc/Dsc

    Value & Operator

    Subordinate Tables (aka Supplemental Tables)

    🟩 Query Screens Overview

    Below are detailed descriptions for navigating the screens found when creating a Query.

    Starting a Search

    Starting a New Query from a Record

    The New Query Screen

    Query Results (aka Browse View)

    How the Query Screen Looks After Saving 1+ Queries

    Query Screen Structure & Display Order

    Special Operators

    🟩 Personal Queries

    🟩 Queries Advanced Overview

    Now that you have studied all of the materials above, here is a video by AssetWorks to help you tie everything together.

    AiM IQ - 100 - What is a Query - 4.mp4

     

     Related articles

    Filter by label

    There are no items with the selected labels at this time.