'LOADS ALL RESULTS TO A TABLE
Dim Table As List
Table.Initialize
Table = DBUtils.ExecuteMemoryTable(Starter.sqlDB, "SELECT * FROM evals WHERE usuario='" & Main.strUserName & "'", Null, 0)
If Table = Null Or Table.IsInitialized = False Then
'DOES NOTHING FOR NOW
Else
Dim Cols() As String
For dato = 0 To Table.Size - 1
Cols = Table.Get(dato)
'CHECKS A SPECIFIC COLUMN FOR A 'YES' VALUE. If so, it adds a line to a 2 line listview
If Cols(40) = "YES" Then
ListView1.AddTwoLinesAndBitmap2(Cols(4),Cols(5),LoadBitmap(File.DirAssets, "check.png"),Cols(0))
End If
Next
End If