I think I understand. You have a sub form that is controlled by a query and
in that query has a field with a Date in it. When that form is opened up as
a sub form you want the Data in it to sort by Date More Specifically the Year
with the most current year on top going to the furthers year away.
If that is the case then in the query (of the subform) drag another Date
field into the record set then Type the following
Year: Year([Your Field Date Name])
That will return only the years of the date 1999 2000 2001 etc etc…. Then
just sort ascending.
Calvin said:
The year only appears on the subform because the event information stays
constant from year to year (location, contact information, etc), so I need
the subform to sort by year and have the current year the default subform.
Does that make sense?
NK
:
Clavin,
Do you need the current Year to show up on the Main form to filter out the
subform? Or do you need the subform to sort on current year?
:
I have a form that tracks annual events, with a subform for data specific to
each year. I would like for the current year's data to show up as the
default, but instead the first entry (1999) shows up and I need to scroll
ahead to find the current year. Any tips?