Good evening guys
I am working on a little project, in which I have to retrieve 8000+ rows of data from a table, from a SQLite database, to populate a combobox
This is what I tried 'til now, but it still takes about 12 seconds to populate the combobox.
_SQLite_Exec($objDatabase, "BEGIN TRANSACTION;")
If _SQLite_GetTable($objDatabase, "SELECT DISTINCT Comune FROM LISTA_COMUNI;", $arrRisultatoQuery, $intRighe, $intColonne) = $SQLITE_OK Then
For $i = 2 To UBound($arrRisultatoQuery) - 1
If $i < UBound($arrRisultatoQuery) - 1 Then
GUICtrlSetData($cbo_ComuneNascita, $arrRisultatoQuery[$i] & "|")
Else
GUICtrlSetData($cbo_ComuneNascita, $arrRisultatoQuery[$i])
EndIf
Next
_SQLite_Exec($objDatabase, "COMMIT;")
Are there any other solution to retrieve 8000+ records from a SQLite database?
Thank you very much