Hi XOJO 2019 r1.1
Any idea what is the error or what i have to change in the code
Dim dbFile As FolderItem
Const kDBName As Text = “asambleaipd.sqlite”
// Only copy the file if it is not already there
Dim eeFile As FolderItem = SpecialFolder.Documents.Child(kDBName)
If eeFile Is Nil Or Not eeFile.Exists Then
// Get DB file in Resources
dbFile = SpecialFolder.GetResource(kDBName) <<<< error file no found
// Copy the DB to Documents
Try
dbFile.CopyTo(SpecialFolder.Documents)
Return SpecialFolder.Documents.Child(kDBName)
Catch e As IOException
Return Nil
End Try
End If
Return eeFile