Hi -
From the debug (immediate) window:
pdte = date() '3/30/07
nwd = pdte + IIf(WeekDay(pdte) > 5, 9 - WeekDay(pdte), 1)
? nwd
4/2/07
KARL DEWEY wrote:
>Try this --
>IIf(Format([myday]+1,"w") Between 2 And
>6,[myday]+1,IIf(Format([myday]+2,"w") Between 2 And 6,[myday]+2,[myday]+3))
>> I would like to be able to display a date which will be one day more
>> than what i type in, but if the date i type in is a friday i would
>> like it to display Mondays date
>>
>> Thanks
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200703/1