Click to Rate and Give Feedback
MSDN
MSDN Library
Visual FoxPro
Reference
Language Reference
Commands
 LIST PROCEDURES Command
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual FoxPro 9.0 SP2
LIST PROCEDURES Command

Continuously displays the names of stored procedures in the current database.

LIST PROCEDURES   [TO PRINTER [PROMPT] | TO FILE FileName [ADDITIVE]]   [NOCONSOLE]

Parameters

TO PRINTER [PROMPT]

Directs the information returned from LIST PROCEDURES to a printer.

You can include PROMPT to display a Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName

Directs output from LIST PROCEDURES to the disk file specified with FileName. If the file already exists and SET SAFETY is ON, Visual FoxPro displays a prompt asking if you want to overwrite the file.

ADDITIVE

Appends to the end of the named file. If you omit ADDITIVE, then the file is overwritten with the value of the expression.

NOCONSOLE

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Stored procedures are created with MODIFY PROCEDURES.

The following example opens the testdata database and uses LIST PROCEDURES to list the stored procedures (if any) in the database.

CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'data\testdata')

CLEAR
LIST PROCEDURES  && Lists stored procedures in the database
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker