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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subform Sort Order 1

Status
Not open for further replies.

TerriO

Technical User
Jan 9, 2002
84
US
I have created a form with a related subform and it works well for the creation of a record within it related table. However, the records contained in the subform (related child table) are displayed later, the subform records are not returned in the order that they were entered (based on date or primary key).

How do you specify the sort order of a subform's returned records?



Terri
 
Hi

A sub form is just a form like any other, so to order the records, you put an order by in the query on which the form is based, or if at present it is based directly on a table, you click the builder button to the right of the recordsource property and make a query with an appropriate order by

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top