Hi Everyone- I'm a newbie to LiveCycle and programing is my weakness.
However, I thought I'd share something I'm working on. I'm creating a submit form for Mileage Reimbursement.
For awhile now, I've been googling as well as browsing this forum and couldn't find a formcalc formula. Using the built in Help in live cycle, I found the formula.
So I have begining miles and ending miles that must be subtracted.
Here is the code:
if (endmiles1 < beginmiles1) then
total1 = 0
else
total1 = endmiles1 - beginmiles1
endif
Hope this helps someone.