I know this should be easy, but how can I get records sorted in a dbgrid?
I've got the data coming from an Access database query, and the query is sorted correctly, but in my VB program, the data is displayed in a different order.
I even tried sorting the table, but that didn't make any difference.
There is no key column or index in the database table. When I display either the table or query in Access, it's sorted.
I'm a long way from an expert on the db controls, so I'm sure I'm just missing something easy.
I've got the data coming from an Access database query, and the query is sorted correctly, but in my VB program, the data is displayed in a different order.
I even tried sorting the table, but that didn't make any difference.
There is no key column or index in the database table. When I display either the table or query in Access, it's sorted.
I'm a long way from an expert on the db controls, so I'm sure I'm just missing something easy.