Android Question Number of entries in B4XTable ?

Genricke

Member
Hi !

Please tell me why there is no number of entries in B4XTable ?
(without executing an SQL query by B4XTable)

B4X:
    Dim TData As List = DBUtils.ExecuteMemoryTable(...)
    Log(TData.Size)    '= 120
    
    B4XTable1.SetData(TData)
    'B4XTable1.RefreshNow
    'Sleep(0)
    
    Log(B4XTable1.Size)    '= 0 ???? the table has the content

Thanks !
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Don't asynchronous methods have a special mark ?
Resumables subs are marked:

1618145666619.png


This arrow tells you that your code will continue before the called sub has finished.

If you call it with Wait For:

1618145705658.png

This means that the current sub will be paused and later resumed, after the called sub completed.
 
Upvote 0
Top