W
Walter Steadman
Greetings again all,
I think I figured out where I need to go with the Date thing. In my
table tblPilot the Pilots Birthday is listed. His/Her Age is irrelevant,
but we track their hours flown in two six month increments. The increments
are as follows
1st Increment begins the 1st day of the month following the month they were
born in: Example Born 15 Oct Increment 1 date will be 1 Nov through 30
April and Increment two date will be 1 May through 31 October
Pilots fly hours and they are tracked by the above two periods. I need to
be able to tell the database that the start date is either 2004 if their
birthmonth has not passed or 2005 if their birthmonth has passed. So for
example:
Pilot A is born in March so his increment date starts on 1 April. Since 1
April 2005 has arrived, I want his increment 1 start date to be 1 April 2005
Pilot B is born in August so his increment date is 1 September. Since 1
September has not arrived yet for 2005, I want his increment start date to
be 1 Sep 04. and then change to 1 sep 05 once the date reaches 1 sep 05.
The pilots hours restart on his/her New Increment date so I will archive
them with a Active Checkbox and run a query.
My mind says that I should run a query somewhere, as this date needs to be
updated only once a year.
Should I have a field in the table called CurrentMonth and then do an Update
Query or Append Query?
Can I have it do an update query on the Birthday field in the tblPilot or
what is best recommended for this?
Thanks in Advance. Sorry for all the questions about Dates, I don't have
alot of resources over here so I am relying on the only real one I have and
that is this great msnews.micorsoft.com place.
Wally Steadman
US Army in Iraq.
I think I figured out where I need to go with the Date thing. In my
table tblPilot the Pilots Birthday is listed. His/Her Age is irrelevant,
but we track their hours flown in two six month increments. The increments
are as follows
1st Increment begins the 1st day of the month following the month they were
born in: Example Born 15 Oct Increment 1 date will be 1 Nov through 30
April and Increment two date will be 1 May through 31 October
Pilots fly hours and they are tracked by the above two periods. I need to
be able to tell the database that the start date is either 2004 if their
birthmonth has not passed or 2005 if their birthmonth has passed. So for
example:
Pilot A is born in March so his increment date starts on 1 April. Since 1
April 2005 has arrived, I want his increment 1 start date to be 1 April 2005
Pilot B is born in August so his increment date is 1 September. Since 1
September has not arrived yet for 2005, I want his increment start date to
be 1 Sep 04. and then change to 1 sep 05 once the date reaches 1 sep 05.
The pilots hours restart on his/her New Increment date so I will archive
them with a Active Checkbox and run a query.
My mind says that I should run a query somewhere, as this date needs to be
updated only once a year.
Should I have a field in the table called CurrentMonth and then do an Update
Query or Append Query?
Can I have it do an update query on the Birthday field in the tblPilot or
what is best recommended for this?
Thanks in Advance. Sorry for all the questions about Dates, I don't have
alot of resources over here so I am relying on the only real one I have and
that is this great msnews.micorsoft.com place.
Wally Steadman
US Army in Iraq.