Sort ascending in drop down

C

Cloey

I have an infopath form that I use an access database table for drop down
boxes. When I update the information in the database, I sort ascending,
however when I open the form the drop down box does not sort ascending. The
most recent additions are at the top not in alphabetical order. Can I fix?
 
S

S.Y.M. Wong-A-Ton

Try opening up the data source connection for the dropdown list box (Tools >
Data Connections) and edit the SQL statement for the data connection to
include an ORDER BY clause if it does not currently have one.

The last thing you could try to do is sort using code, but that would be
going a bit over the top...
 
W

wina

I just found out last night. If u want to sort only a field:
1. Select DATA CONNECTION
2. Select the database and click on MODIFY
3. Select MODIFY TABLE
4. SORT ORDER dialog box will appear and select the field u wish to
sort
It works for me since mine is simple.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top