InfoPath 'NaN' value

X

xiao-yun fan

I created an InfoPath form and used VBScript to do some calculation.
When I use the return value as input for further calculation, I got NaN
value as the result that is not what I expected but I couldn't figure out
what is wrong.

Here is my example:
1. A(a infopath field) = 1+B(a infopath field with a value from VB script)
-> A='NaN'
2. A(a infopath field) = B(a infopath field with a value from VB script) ->
A=B
Here both A and B are decimal type.

Could you please advice what is wrong?

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