Manage query results


When you run a query the results are displayed in Detail View—you can just explore the matched items or you can make a new node from the results. For example, query your coding to find everything coded at desalination and industry, then gather all the material into a new node industry perspectives on desalination.

This topic describes what you can do with query results.

What do you want to do?


 


Preview query results without saving

If you are not sure you want to save query results, you can 'preview' them in Detail View. By default, the Preview Only option is selected for newly created queries.

  1. Create or open the required query.

  2. On the Query Options tab, from the Option list under Results, select Preview Only.

  1. Click Run. The results are displayed in the Detail View.

NOTE The Query Options tab is not available for Word Frequency or Coding Comparison queries.

ic_top_of_page.gifTop of Page

Preview query results and save them as a node or a set

You can save a query result as a node or as a set.

  1. Click on the query result in Detail View.

  2. On the Explore tab, in the Queries group, click rn_explore_queries_storequeryresults.gifStore Query Results.

The Store Query Results dialog box opens.

  1. From the Option list, select how you want to store the query result. You can choose:

  1. In the Location box, click Select to specify a location for storing the results.

The Select Location dialog box opens. Select the location and click OK to close the dialog box.

  1. Enter a name and description.

  2. (Optional) To automatically open a result node in Detail View, select the Open results check box. This option is not available if you are saving the results in a new or existing set.

  3. Click OK.

NOTE

ic_top_of_page.gifTop of Page

Specify save options during query set up—before running the query

When you create a query, you can specify how you want to store the results before running the query.

To set the options for saving the results:

  1. Create a query.

  2. In the Query Options tab, select how you want to store the query results.

  3. If you are creating a new node or set, define the folder location and give it a name and description. If you are merging into an existing node or set, select it using the Select button next to the Name box.

  1. (Optional) To spread the coding context, select from the Spread to list. For more information about the spread options, refer to Spread Coding.

  2. (Optional) To automatically open the saved results in Detail View, select the Open results check box.

  3. (Optional) If the query does not return any results and you want to create an 'empty' node, select the Create results if empty check box. This option is only available if you have chosen to save the results as a new node, set or node hierarchy.

  4. Click OK.

NOTE

ic_top_of_page.gifTop of Page

Save query results in the Results folder

When you set the query options to save query results as a node, the default location is the Results folder—a good place to keep result nodes until you decide to add them to your node system. Refer to Specify save options during query set up—before running the query for more information.

While the nodes are stored in the Results folder, you can export, print and work with them in the same way as other nodes. You can also view the query that generated the result.

NOTE

ic_top_of_page.gifTop of Page

View the query that generated the result

When you store the results of a query in the Results folder, you can easily view the query that generated the results:  

  1. In List View, select the query result.

  2. On the Home tab, in the Item group, click the arrow under Open and select Open Linked Query.

rn_home_item.gif

The Query dialog box opens.

ic_top_of_page.gifTop of Page

Export query results

You can export query results to a web page, PDF, Microsoft  Word, Microsoft Excel, as a rich text or plain text file. The format available will depend on the type of query and how you chose to store your query results.

  1. Click on the item in Detail View or List View.

  2. On the External Data tab, in the Export group, click Export, and then click Export Result.

rn_externaldata_export.gif

The Export Options dialog box opens.

  1. Select the required options—for more information refer to Export Options.

  1. Click OK. The Save As dialog box opens.

  2. The exported file is saved to your default location for exported files, you can choose a different location if necessary.

  3. In the File name box, enter a name for the exported file.

  4. In the Save as type box, select the format for the exported file.

  5. Click Save.

NOTE

ic_top_of_page.gifTop of Page

Delete query results

To delete query results stored in the Results folder:

  1. In the List View, select the query result.

  2. On the Home tab, in the Editing group, click Delete.

rn_home_editing.gif

The Delete Confirmation dialog box opens.

  1. Click Yes to confirm.

ic_top_of_page.gifTop of Page