Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 19th, 2006, 02:55 AM
kunal0101@gmail.com
Guest
 
Posts: n/a
Default urgent help required: need to auto update date field

Hi,

I am a new user to access and am building a database to capture the
rotation dates for employees.
There is a table called "Rotation schedule" which contains "name",
"Duration (in weeks) and "rotation date" fields. Each employee will
have many records in this table corresponding to each rotation. What i
need to do is that when a user enters the duration in weeks for a
particular MA, i need to auto calculate the next rotation date using
the below algorithm:
rotation date: Duration (in weeks) * 7 + prev rotation date

Please advise on how can i do this.
Many thanks

  #2  
Old December 19th, 2006, 03:45 AM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: urgent help required: need to auto update date field

On 18 Dec 2006 18:51:00 -0800, kunal0101@gmail.com wrote:

Check out the DateAdd function in the Help file. It is used to do date
math.

"name" is a reserved word, and not a good name for any control or
field.

-Tom.

Quote:
>Hi,
>
>I am a new user to access and am building a database to capture the
>rotation dates for employees.
>There is a table called "Rotation schedule" which contains "name",
>"Duration (in weeks) and "rotation date" fields. Each employee will
>have many records in this table corresponding to each rotation. What i
>need to do is that when a user enters the duration in weeks for a
>particular MA, i need to auto calculate the next rotation date using
>the below algorithm:
>rotation date: Duration (in weeks) * 7 + prev rotation date
>
>Please advise on how can i do this.
>Many thanks
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles