You can save an individual survey query to a QML file that you can open and reuse or import into another survey database.
To save a survey query file
- Open a survey database.
- On the Survey
Toolspace tab, expand the database name.
- Expand the Survey Queries collection.
- Right-click the query name Save Query To File.
- Specify a name and location for the QML file and click Save.
Note: You can also save a survey query to a file from within the
Survey Query Builder dialog box. This allows you to save a survey query for reuse if the survey database is read-only.
To import a survey query file into a survey database
You can import a survey query file that you have exported or saved from a survey database into another survey database.
- Open a survey database. The database must be open for write-access to import a query.
- On the Survey
Toolspace tab, expand the database name.
- Right-click Survey QueriesImport.
- Select the QML file to import and click Open.
To export survey query files from a survey database
You can export all defined queries from a survey database to a specified location. This is useful if you want to use the queries on other databases.
- Open a survey database.
- On the Survey
Toolspace tab, expand the database name.
- Right-click Survey QueriesExport.
- Specify the location for the exported queries and click Open.
All queries defined for the survey database are exported as separate files in the specified location.