I use the DBUtils Code Modul in the following way:
This works as much as i can see.
Now i would like to access a value stored in "table" as created by the code module.
So how can i "read" the values of the List "table" from the main module?
Could not find a hint in the documentation or Forum.
A code example would be very appreciated
Thx Bernd
B4X:
DBUtils.ExecuteMemoryTable(SQL1,"Select * From tbltest",Null,0)
This works as much as i can see.
Now i would like to access a value stored in "table" as created by the code module.
B4X:
Dim table As List
table.Initialize
If Limit > 0 Then Limit = Min(Limit, cur.RowCount) Else Limit = cur.RowCount
For row = 0 To Limit - 1
cur.Position = row
Dim values(cur.ColumnCount) As String
For col = 0 To cur.ColumnCount - 1
values(col) = cur.GetString2(col)
Next
table.Add(values)
Next
So how can i "read" the values of the List "table" from the main module?
Could not find a hint in the documentation or Forum.
A code example would be very appreciated
Thx Bernd