OpenStoredProcedure


Opens a stored procedure in an Access Data Project.

Syntax

DoCmd.OpenStoredProcedure ProcedureName[, View][, DataMode]

with the following parameters:

ProcedureName

A String defining the name of the stored procedure.

View

One of the following members of the AcView enumeration: acViewDesign (design view), acViewNormal (runs the stored procedure and displays the results, the default), and acViewPreview (opens the stored procedure in print preview).

DataMode

A member of the AcOpenDataMode enumeration for stored procedures opened in acNormal view. Possible values are acAdd, acEdit (the default), and acReadOnly.

Comments

The OpenStoredProcedure method was first introduced in Access 2000.




Access VBA Programming
Microsoft Access VBA Programming for the Absolute Beginner
ISBN: 1598633937
EAN: 2147483647
Year: 2006
Pages: 214
Authors: Michael Vine

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net