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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

from =date() show the month in 3 months time in report

Status
Not open for further replies.

ch4meleon

Technical User
Jan 13, 2003
60
GB
I have a report that is a letter and the customer has 3 months to reply to the letter from the date of the letter so i want to have a text boxt on the report that shows the month (only the month not the date) in 3 months time ?
Any help most gratefully received !!

:)
 
Hi
How about:
[tt]DateSerial(Year(Date), Month(Date) + 3, Day(Date))[/tt]
 
Hi Remou
Not sure how you intend me to use this ? (sorry if im being really dense ... blame it on monday morning itis)
 
To clarify i have tried using date part to pull just the month from the date - =DatePart("MM", [text15])this just gives me 27 June 1905 (????)
I have also tried using date add to add 3 months but this still displays a full date and i only want to show the month ???
 
So sorry [blush] -
[tt]= Format(DateAdd("m", 3, [Text15]), "mmmm")[/tt]
Where [Text15] is your date field.
 
Remou you're a star thats great and works perfectly !! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top