Hi,
I was able to calculate difference between 2 dates(startdate,enddate) and displaying in textbox(Days) following this link.
http://www.bizsupportonline.net/infopath2007/calculate-date-difference-infopath-rules-formulas.htm
But, now i need to calculate the difference based on a drop down(Status). If the dropdown choice is Yes, date difference will be calculated, else display "Completed" in the "Days" textbox. How do i do this.. Kindly help..