ProcessStoredProc (Method)

Applies To:

QuerySection

Description:

Enables you to process stored procedures to obtain results.

This method is used with the SetStoredProcParam (Method).

Syntax:

Expression.ProcessStoredProc() 

Example:

This example shows how to open and process a stored procedure in the Query section:

ActiveDocument.Sections["Query"].SetStoredProcParam("Param1",1)
ActiveDocument.Sections["Query"].SetStoredProcParam("Param2",2)
ActiveDocument.Sections["Query"].ProcessStoredProc()