Sorting in a Subform

R

Randy

I have a Main table with basic client data, and a Employments table
with data on employment information.

I have created a Main form and then included the Employments form as a
subform in the Main form.

I want it to sort the Employments subform in the Main form in
descending order by BeginDate. I tried putting
{Employments}.{BeginDate]in the Order By property but this did not
work.

How can I get it to sort on opening the form. Will a macro do it?
What should I do?

Thanks for any suggestions.
 
S

Steve Schapel

Randy,

I suggest making a Query based on the Employments table, using the Sort
within the query design to get the records in the required order, and
then using this query as the Record Source of your subform.
 

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