I'm trying to show a table of the records in my database on the second tab of my TabHost but the table does not show and I cannot work out why not.
Here is my code:
Here is my code:
B4X:
Sub tbhPages_TabChanged
If tbhPages.CurrentTab = "2" Then
ShowTableInWebView
End If
End Sub
Sub ShowTableInWebView
WebView1.Visible = True
WebView1.LoadHtml(DBUtils.ExecuteHtml(SQL1, _
"SELECT NameOfNote, NoteText FROM Notes" _
, Null, 0, True))
End Sub