RE: Check for next year

2004-12-30 Thread Robert Orlini
Thanks all! -Original Message- From: Ben Rogers [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 12:00 PM To: CF-Talk Subject: RE: Check for next year #month(theDate)# -- #year(theDate)# You can wrap month() in monthAsString() if you want to display the name of

RE: Check for next year

2004-12-30 Thread Ben Forta
Use DateAdd() to add one month to Now(), and then use that yo display month and year. --- Ben -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 11:53 AM To: CF-Talk Subject: Check for next year I have a popup that will display one

RE: Check for next year

2004-12-30 Thread Ben Rogers
[EMAIL PROTECTED] > Sent: Thursday, December 30, 2004 11:53 AM > To: CF-Talk > Subject: Check for next year > > I have a popup that will display one month in advance. > > The issue I have is that users can view January, but the display still > reads "January 2004". I

Re: Check for next year

2004-12-30 Thread Bryan Stevenson
You'll need to use either CreateDate() (build your own date using whatever criteria you want) or DateAdd() (add to the current date) Basically by using Now() you are of course stuck with the current year...so add 1 year to Now() and yer good to go Cheers Bryan Stevenson B.Comm. VP & Director o

Re: Check for next year

2004-12-30 Thread C. Hatton Humphrey
> I have a popup that will display one month in advance. > > The issue I have is that users can view January, but the display still reads > "January 2004". I have the month and year formatted below. > > How can I check and/or display the year 2005? The dateformat below does not > take that in c

Re: Check for next year

2004-12-30 Thread Charlie Griefer
var viewdate = dateAdd('m', 1, now()); Report for month of: #month(viewdate)# -- #year(viewdate)# On Thu, 30 Dec 2004 11:53:16 -0500, Robert Orlini <[EMAIL PROTECTED]> wrote: > I have a popup that will display one month in advance. > > The issue I have is that users can view January, but

Check for next year

2004-12-30 Thread Robert Orlini
I have a popup that will display one month in advance. The issue I have is that users can view January, but the display still reads "January 2004". I have the month and year formatted below. How can I check and/or display the year 2005? The dateformat below does not take that in consideration.