i ave one question:
search row whit item"timestamp" = ? (where ? as blob)
does not work ??
thank
search row whit item"timestamp" = ? (where ? as blob)
B4X:
Sub SeEsiste(timestamp() As Byte, NomeTab As String) As Boolean
Dim Cursor1 As Cursor
Cursor1=sqlpi.ExecQuery("Select count(*) as tot FROM " & NomeTab & " WHERE timestamp = '" & timestamp & "'" )
Cursor1.Position=0
If Cursor1.GetInt ("tot")>0 Then
Cursor1.Close
Return True
Else
Cursor1.Close
Return False
End If
End Sub
thank