Hi
I needed some advice on a fast method to sort data. I am considering two options...
1.
Load the data into a multidimensional array and sort it. In this case, what would be the best method to sort an with approximately 3000 records and 5 fields. I'd like to sort everything based upon one of the fields.
2.
The second option i was thinking about was to import data from a text file into an access database and then sort it. I tried using the following sql code...
"Select field_a, field_b, field_c, field_d, field_e " _
& " INTO mytable IN'" & FileMDB & "' " _
& " FROM " & fileCSV & "SORT BY field_d GROUP BY field_a"
but it gives me an error like 'syntax error in from clause.
Any suggestions will be greatly appreciated!
Thanks
Chet
I needed some advice on a fast method to sort data. I am considering two options...
1.
Load the data into a multidimensional array and sort it. In this case, what would be the best method to sort an with approximately 3000 records and 5 fields. I'd like to sort everything based upon one of the fields.
2.
The second option i was thinking about was to import data from a text file into an access database and then sort it. I tried using the following sql code...
"Select field_a, field_b, field_c, field_d, field_e " _
& " INTO mytable IN'" & FileMDB & "' " _
& " FROM " & fileCSV & "SORT BY field_d GROUP BY field_a"
but it gives me an error like 'syntax error in from clause.
Any suggestions will be greatly appreciated!
Thanks
Chet