Microsoft Access VBA Programming for the Absolute Beginner

Quits the Access application.

Syntax

DoCmd.Quit [Options]

where Options is an AcQuitOption constant that determines how changes are handled. Possible values are acQuitPrompt, acQuitSaveall (the default), and acQuitSaveNone.

Comments

The Quit method has been retained for compatibility with Access 95. The recommended method of quitting an application is to call the Quit method of the Application object, which has the same Options parameter.

Категории