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!
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!