SQLiteDatabase.Constructor(dbFile as FolderItem)

From Xojo Documentation


SQLiteDatabase.Constructor(dbFile As FolderItem)

New in 2019r2

Supported for all project types and targets.

Creates a SQLiteDatabase using the provided database file.


You can use this Constructor instead of manually assigning the data file using the DatabaseFile property.

Sample Code

Var dbFile As FolderItem = SpecialFolder.Desktop.Child("test.sqlite")
Var db As New SQLiteDatabase(dbFile)