SQLiteBackupInterface.Error

From Xojo Documentation

Revision as of 00:18, 29 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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