Previous Topic: AddNext Topic: Copy


CloseAll

Closes all models.

Syntax

object.CloseAll [SaveChanges]

Parameters

object

An expression that evaluates to a Models object.

SaveChanges

(Optional) An enum of type DsSaveChanges that indicates whether to save changes to one or more documents before closing them. Following are the possible values, which have the Long type:

dsSaveChangesYes - Saves the changes (the default).

dsSaveChangesNo - Does not save the changes.

dsSaveChangesPrompt - Prompts the user to save changes. If the user chooses not to save the changes, CloseAll returns the enum dsSaveStatus with the value dsSaveCanceled.

 Not Yet Implemented