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.