Sorting A Subform

T

Ty Archer

I have a database that tracks employee's time (days & hours worked). The
main form has personal information, while the subform has the time
information. I'm using employee hours as the primary key, and would like the
subform to be sorted by dates. The main form will be sorted by employee
number, however, I want the subform to be in chronological order. How can I
do this? Thanks very much.
 
R

Rick Brandt

Ty said:
I have a database that tracks employee's time (days & hours worked).
The main form has personal information, while the subform has the time
information. I'm using employee hours as the primary key, and would
like the subform to be sorted by dates. The main form will be sorted
by employee number, however, I want the subform to be in
chronological order. How can I do this? Thanks very much.

Generally the best way to get a particular display order in a form is to
bind it to a query based on your table rather than the table directly, and
then inculde a sort in the design of that query.
 

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