Good morning,
i need to set a date depending on weekly, monthly or yearly.
is this correct,
********************************************************
=IIf([Product_ID]="4",DateAdd("ww",1,[Order_Date]),IIf([Product_ID]="5",DateAdd("m",1,[Order_Date]),DateAdd("yyyy",1,[Order_Date])))
***********************************************
4 is weekly, 5 is monthly, all others yearly
and where should i put the code, in event "got Focus" or other
Many thanks
Sepp
i need to set a date depending on weekly, monthly or yearly.
is this correct,
********************************************************
=IIf([Product_ID]="4",DateAdd("ww",1,[Order_Date]),IIf([Product_ID]="5",DateAdd("m",1,[Order_Date]),DateAdd("yyyy",1,[Order_Date])))
***********************************************
4 is weekly, 5 is monthly, all others yearly
and where should i put the code, in event "got Focus" or other
Many thanks
Sepp