Android Question Trapping SQLite error messages

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

I would like to trap and display SQLite error messages to help me in debugging SQL coding in my apps.

Can you tell me what I need to add to this coding to do that?

Thanks.

B4X:
Sub SQL1_QueryComplete (Success As Boolean, Crsr As Cursor)
    If Success = False Then
        Msgbox("The SQL error message would go here", "SQL Error")
    End If
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…