To create a query based on a stored procedure:
- Open the VisiconX Data Control OLE Properties dialog box. For information on how to do this in your product, refer to the Accessing VisiconX OLE Control Properties section.
- From the Record Source tab, in the Command Type drop-down list box, select Stored Procedure.
- Enter a stored procedure name in the Stored Procedure drop-down list box.
- Click List Parameters to display the query properties mapped to the stored procedure parameters.
- Click OK.
- Animate the query properties that map to the input parameters for the stored procedure.
NOTE: CIMPLICITY users need to use CimEdit Basic script to use query properties. For more information, see Using Query Properties in CIMPLICITY.
See Also