T
TM
I am using an access database in my vb.net application and it is tied to a
datagrid.
My problem is that the field I want to sort on is a text field, 5 characters
long, and it contains not only numbers but some fields are text.
When I sort the table in access, or use the "order by" sql statement, it
seems to want to put the numbers first, then the alpha after.
I realize this is probably the proper behavior, but is there any way I can
override this ?
The data is for a shopping list and here is a sample:
Field1=Isle
sample data:
1,2,3,4,PHRM,PROD,ENT
I would like to sort the data in this order:
ENT, PROD, PHRM, 1,2,3,...
Sorry for the confusion, this is bard to explain. Is there any way I can do
this ?
Thanks
datagrid.
My problem is that the field I want to sort on is a text field, 5 characters
long, and it contains not only numbers but some fields are text.
When I sort the table in access, or use the "order by" sql statement, it
seems to want to put the numbers first, then the alpha after.
I realize this is probably the proper behavior, but is there any way I can
override this ?
The data is for a shopping list and here is a sample:
Field1=Isle
sample data:
1,2,3,4,PHRM,PROD,ENT
I would like to sort the data in this order:
ENT, PROD, PHRM, 1,2,3,...
Sorry for the confusion, this is bard to explain. Is there any way I can do
this ?
Thanks