Xojo 2019 r1 SQLiteDatabase DB doesn't exist

  1. 9 months ago

    Alexis C

    28 Aug 2019 Testers, Xojo Pro Puerto Rico, USA

    This is using Copyfiles1 on mac

    Error is Database file doesn't exist in the specified location.
    my code

    Dim ss As String

    ConnDB=New SQLiteDatabase

    #If TargetWin32 then
    #if DebugBuild then
    ConnDB.DatabaseFile = GetFolderItem("RadAppDB.db")
    #ELSE
    ConnDB.DatabaseFile = GetFolderItem("´╗┐RadAppDB.db")
    #endif
    #ELSE
    ConnDB.DatabaseFile = GetFolderItem("´╗┐RadAppDB.db")
    #endif

    if ConnDB.Connect() = false then
    ss=ConnDB.ErrorMessage
    Return False
    Else
    Return True
    end if

    I found the problem is when I use copy and paste in code it damage the code i have to retype

  2. Alexis C

    28 Aug 2019 Testers, Xojo Pro Answer Puerto Rico, USA

    I found the problem is when I use copy and paste in code it damage the code i have to retype

or Sign Up to reply!