How do I make my combo box sort alphabetically?
At first I had Combo1 working directly with the fields in the table the data was being pulled from. I noticed that other people had the same problem and the ended up using an SQL statement putting the data to a cursor and this allowed them to get their data alphabetically. So I tried the SQL statement, but it still isn't sorted alphabetically.
In Combo1's properties (even though it isn't grayed-out) I am unable to change the Combo1's sorting from False to True. So in the Form's ACTIVE Event the following line:
thisform.combo1.Sorted = .T.
The combo still isn't sorted alphabetically.
Any ideas?
THANKS!
CJ
At first I had Combo1 working directly with the fields in the table the data was being pulled from. I noticed that other people had the same problem and the ended up using an SQL statement putting the data to a cursor and this allowed them to get their data alphabetically. So I tried the SQL statement, but it still isn't sorted alphabetically.
In Combo1's properties (even though it isn't grayed-out) I am unable to change the Combo1's sorting from False to True. So in the Form's ACTIVE Event the following line:
thisform.combo1.Sorted = .T.
The combo still isn't sorted alphabetically.
Any ideas?
THANKS!
CJ