Dear members,
may i ask for your very much appreaciated support? My challenge :
In the end i need to manipulate a date field with the function “relativedate()” for a simple forward simulation which works fine in general. Would you please have a look at the attached screenshot.
Based on the products listed, i would like to simulate this szenario. The smalltest date is always getdate().
=If ([product])=“Trousers” Then RelativeDate([date];-2)
Fine for me if the date listed is more than 2 days ahead. BUT if the date listed is today or tomorrow then i would have a date in the past (yesterday) which is not OK (from a forward focussed perspective)
So if the manipulated date would be smaller then getdate() i would like to have getdate() set instead of “RelativeDate([date];-2)” as a correction and that amounts for today or tomorrow would be summed up.
Any idea, PLEASE ?
Thanks a lot!
ralf_cas (BOB member since 2020-08-07)