Please excuse the beginner level questions but...
I would like to do something that I thought would be very simple in LiveCycle:
I have a drop-down called "Shipment Method"
I have a date field called "Order Date"
I have another date field "Expected Date" (see where I'm going with this?)
If the shipment method field equals ground, the the expected date field should equal the order date field plus 5 days.
IE:
Shipment Method = Ground
Order Date = 10/5/2007
Expected Date = 10/10/2007
I have done a lot of searching but can only find ways to calculate number of days. Any ideas?
Thanks all!
You need to use the "Date2Num()" FormCalc function to convert the order date to days (actually the number of days since Jan 1, 1990). If you add 5 days to that value you will now have the number of days form for the order date plus 5 days from Jan 1, 1990. Now you can use the "Num2Date()" function to convert the new number of days since Jan 1, 1990 back to a date.
George Kaiser