Hi guys,
Here are the codes
Cursor and table gave different result.
Attached is a sample project, could this is a bug? Using B4A ver 3.8
Here are the codes
B4X:
Sub Button1_Click
Private Q As String
Private Cur As Cursor
Q = "select id,nm,cst_prc,sls_prc from m_gd where nm = 'COKE'"
Cur = SqlLt.ExecQuery(Q)
For i = 0 To Cur.RowCount - 1
Cur.Position = i
Msgbox("ID : " & Cur.GetInt2(0),"")
Msgbox("NAME : " & Cur.GetString2(1),"")
Msgbox("COST : " & Cur.GetInt("CST_PRC"),"")
Msgbox("SLS PRC : " & Cur.GetInt2(3),"")
Next
Cur.Close
Tbl1.LoadSQLiteDB(SqlLt, Q, True)
End Sub
Cursor and table gave different result.
Attached is a sample project, could this is a bug? Using B4A ver 3.8
Attachments
Last edited: