Expand Minimize
1 out of 1 rated this helpful - Rate this topic

MODIFY DATABASE Command

Opens the current database in the Database Designer so you can visually modify the database.


MODIFY DATABASE [DatabaseName | ?] [NOWAIT] [NOEDIT]

Parameters

[DatabaseName | ?]

Specifies the name of the database to modify or displays the Open dialog box so you can browse for and select a database.

[NOWAIT]

Continues program execution after the Database Designer opens.

The program does not wait for the Database Designer to close but continues execution on the program line immediately following the line that contains MODIFY DATABASE NOWAIT. Omitting NOWAIT pauses program execution until the Database Designer closes.

NoteNote

NOWAIT is valid only from within a program. When included with MODIFY DATABASE in the Command window, NOWAIT has no effect.

[NOEDIT]

Prevents changes to the database.

Calling MODIFY DATABASE triggers the dbc_Activate event. For more information, see dbc_Activate Event.

For more information, see Database Designer (Visual FoxPro) and How to: Open Databases.

The following example closes all open databases, sets a path to the Visual FoxPro ..\Samples\Northwind directory, and opens the Northwind sample database in the Database Designer:

CLOSE DATABASES
SET PATH TO (HOME(2) + 'Northwind\')
MODIFY DATABASE Northwind  
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.