Hello, I had asked about my problem near week ago and it solved but when I made a new Activity and new layout with scrollview Unfortunatly I faced conecting scrollview and Sql table ,I couldnt figur out how to solve it even I tried so much thus I decided to ask if any body can give me hand in b4x forum.
the problem is in "Content" Activity in line 29 to 32 it doesn't show any thing in scrolView I tried so many method some times it gives me error which it cant find table or string on table and some time it didn't work without any error and I drove crazy . thank you all for help me in advance. ? I attach project here
the problem is in "Content" Activity in line 29 to 32 it doesn't show any thing in scrolView I tried so many method some times it gives me error which it cant find table or string on table and some time it didn't work without any error and I drove crazy . thank you all for help me in advance. ? I attach project here
Content activity - Activity_Create(FirstTime As Boolean):
b Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("booksContent")
booksContentSv.Panel.LoadLayout ("vontentlable")
sqlDB.Initialize(File.DirInternal,"inbrcodesConfirm.db",True)
Dim cur As Cursor
Dim rs As ResultSet
'Dim strScrolView As String
cur = sqlDB.ExecQuery2 ("SELECT * FROM codeXIIContent WHERE idMaine =?", Array As String ("idMaine"))
cur.Position = 0
Label1.Text = cur.GetString("contentId")
End Sub