Query about function in InfoPath

M

mag

Recently, I am designing a leave application form.
And I encountered problem in one of my field.
In that field <Days>, I would like to apply SUBTRACTION which automatically
calculates the number of days in between two dates which would be entered in
the two previous fields, formula I used is <Enddt - Startdt>. The two
fields are in DATE format respectively. Whenever I test the form, the word
'NaN' would appear in the field <Days>. Could anyone help solve my doubt?
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top