Subform Sort Order

G

Guest

I have a form with 2 linked subforms. One form is for data entry and the
other is datasheet view.

They are linked in the main form with
Private Sub Form_Load()
Set Me.sfmHolidays.Form.Recordset = Me.sfmHolidays2.Form.Recordset
End Sub

The form is for maintaining a Holidays table so it is desirable that the
records are displayed by HolidayDate DESC - I have tried using Order By in
the subforms, but the records are still displayed ascending.

Any suggestions please
 
G

Guest

Thanks Alex

That worked for the data entry subform so I just added the same 2 lines for
the datasheet subform and everything is great.

This forum is invaluable.

Thanks
 

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