Hi!
I'm fairly new to b4a and completele new to SQLLite...
Now I store a date and the time as one Field (STRING) as Ticks in an SQLite - DB. Works quite good
But now I want to filter by Days, so a simple
wont work, because the values are, due do the stored time, not the same :-/
Do you have an Idea how to get this done??
THANKS!!
I'm fairly new to b4a and completele new to SQLLite...
Now I store a date and the time as one Field (STRING) as Ticks in an SQLite - DB. Works quite good
But now I want to filter by Days, so a simple
B4X:
For o = 0 To AnzahlEintraege
Dim tmpDay As Long
tmpDay = DateTime.Add (DateTime.Now,0,0,o)
tmpDay = DateTime.
Dim Table As List
Table = DBUtils.ExecuteMemoryTable(Main.SQLBD, "SELECT * FROM Blutdruck WHERE Datum = ? ORDER BY Datum ASC", Array As String(tmpDay), 0)
Next
wont work, because the values are, due do the stored time, not the same :-/
Do you have an Idea how to get this done??
THANKS!!