Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form will not Sort

Status
Not open for further replies.

Shift838

IS-IT--Management
Jan 27, 2003
987
US
I have a form I input server information on. I have a text filed called txtservername. My table it stores all information in is tblServers. I want the form to sort the servernames in ascending order. I changed the orderby in the form to tblServers.txtServerName and it still will not sort.
 
You need the name of the field, not the name of the control. You probably need to set OrderByOn to True, as well.
 
First make the table into a query and sort the query by txtservername. Second use the query instead of the table in the form. Besides, queries run much faster.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top