R
Rick
I have a form based on an Assignment which contains the
following fields:
WeekID autonumber PK
BeginWeek (short date format)
EndWeek (short date format)
I want to open the form to display the week range that
matches the current date. For example:
Assignment Table
WeekID BeginWeek EndWeek
45 09/26/04 10/02/04
46 10/03/04 10/09/04
47 10/10/04 10/16/04
48 10/17/04 10/23/04
49 10/24/04 10/30/04
Assuming today's date is 10/14/04 I want the form to open
with the record which relates to the week of 10/10/04 to
10/16/04. Presently it opens for the first record in the
assignment table and the user must use a combo box to
specify the current week that they wish to work with.
Not sure how to use the Find or Seek actions in Access or
the syntax to accomplish this.
TIA
following fields:
WeekID autonumber PK
BeginWeek (short date format)
EndWeek (short date format)
I want to open the form to display the week range that
matches the current date. For example:
Assignment Table
WeekID BeginWeek EndWeek
45 09/26/04 10/02/04
46 10/03/04 10/09/04
47 10/10/04 10/16/04
48 10/17/04 10/23/04
49 10/24/04 10/30/04
Assuming today's date is 10/14/04 I want the form to open
with the record which relates to the week of 10/10/04 to
10/16/04. Presently it opens for the first record in the
assignment table and the user must use a combo box to
specify the current week that they wish to work with.
Not sure how to use the Find or Seek actions in Access or
the syntax to accomplish this.
TIA