Develop > Tailoring > Data management > Stored queries > Using stored queries in scripts

Using stored queries in scripts

You can use a stored query to execute a script, and you can write a script that uses a stored query to locate specific records.

A script calls stored queries to populate forms with useful data. Use this capability to grant limited database access to certain users.

For example: You could allow Level 1 technicians access to a user information form through which they can update selected elements of a caller’s contact record. The script calls the stored query. The query retrieves and displays the data from the contacts file. The technician makes the updates and saves them. The script then continues walking the Level 1 technician through the normal workflow.

Related concepts

Stored queries
Using stored queries in display objects
Using menu buttons to run stored queries
Using stored queries to produce charts and marquees
Menu option searches

Related tasks

Grant access to stored queries
Add a stored query
Create stored queries from the Query Maintenance form
Run a stored query
Update a stored query
Append stored queries