Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Future Date

Status
Not open for further replies.

jimihoffa

MIS
Feb 14, 2002
2
US
Im working on a form for work .... I have limited Access experience BTW .... anyway, what I am trying to do is when an employee access a new form there is a field for Week End Date ---- is there anyway I can automaticlly populate this field with the end date given certain criteria. For example can I tell access .. if date() within data pool #(1, 2, 3, 4,.. 51, 52) select last date with in numbered data pool?

I have no idea if this can be done with in reason. Or even done period.

Thanks for your help in advance
 
I know I can add dateadd (d,<<number of days forward>>, <<date to add to(ie. NOW for current date)>>)
so: dateadd (d,1,now) to make it show the date on the form as tomorrow.

What I need to know is how to tell it to check the date, realize its tuesday, wed, monday, whatever, and automaticlly populate this field with the end date of that week. Being friday of course.

Anyone have any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top