XBase.Zap

Syntax:

Zap()

Description:

Deletes all records in the table. All records will be permanently deleted, and cannot be restored.

Availability:

Thin client, server, thick client, external connection.

Example:

Text = "All records will be deleted. Continue?";
Mode = QuestionDialogMode.YesNo;
If 
DoQuerybox(Text, Mode) = DialogReturnCode.Yes Then
    xB.Zap();
EndIf
;


    

1C:Enterprise Developer's Community