XBase.Cancel

Syntax:

Cancel()

Description:

Does not write changes to the database table when changing the current record, if the AutoSave flag is set.

Availability:

Thin client, server, thick client, external connection.

Example:

Text = "Save changes?";
Mode = QuestionDialogMode.YesNo;
If 
DoQueryBox(Text, Mode) = DialogReturnCode.No Then
    xB.Cancel();
EndIf
;

See also:

XBase, property AutoSave

    

1C:Enterprise Developer's Community