Apologies ... I did open you previous upload in error.
But apart from a few extra comments regarding reason for http calls I still see no change whatsever from last time.
I still get no data to be displayed in the Table .
The only data arrives in Activity_Create ... which is inserted in SMSlist db Table ... which is Not displayed anywhere.
Dim rs As ResultSet = Starter.SQL1.ExecQuery("SELECT DISTINCT Daterecieved,Sms as RecievedMessage,ID FROM Recievedsms")
Log("Row Count >>>> " & rs.RowCount)
Row Count >>>> = 0 ......... And same for the Sentmessages table
Sub ShowSentSMS
' When i enable these fileds i can see the messages but after disabling them i do not see the data from the table yet enabling this creates duplication of columns
DateColumn = B4XTable1.AddColumn("Date", B4XTable1.COLUMN_TYPE_TEXT)
B4XTable1.AddColumn("Sms", B4XTable1.COLUMN_TYPE_TEXT)
B4XTable1.AddColumn("ID", B4XTable1.COLUMN_TYPE_TEXT)
YES .... This is the reason you end up with Duplicate Columns
N0 .... I do not suddenly see data when they are enabled ... Just Duplicate columns !
Add columns once at Activity_Create only and get rid of those other AddColumn calls in both subs.
We have already solved renaming that first column later.
Get me some data and I might be able to help.