SQLiteBackupInterface.Error

From Xojo Documentation


Method

SQLiteBackupInterface.Error(errorCode As Integer)

Supported for all project types and targets.

This method is called for you when there was an error in the SQLiteDatabase.Backup. The error is return in errorCode.


Notes

These are the possible error codes:

Error code Description
0 No error
1 Source database disconnected
2 Destination database disconnected


Example

If an error occurs, display it:

MessageBox("Backup error: " + errorCode.ToString)


See Also

SQLiteDatabase.Backup