Hi Roseanne,
Well it was worth a try and eliminates that as the cause.
I'll prefix this by saying I'm no expert in the use of CALCTEXT and I may be getting out of my depth here - i.e. it may be worth getting a second opinion on this one...
Looking at it again, [cam_feature3] is dependent on the results of a calculation, [cam_3a3b_score], which in turn is dependent on the result of another calculation [cam_3a_score].
Whereas [cam_feature1] and [cam_feature2] are not dependent on the results of calculations.
Now there's a subtle difference between when calc type fields are calculated versus fields using the @CALCTEXT action tag. It's been a while, but from memory, I think CALCTEXT fields are calculated on page load, whereas calc fields need the form to be saved
(or at least something changing on the form once it's loaded).
So that would be my best guess as to why you have to save the form to get a result in [cam_feature3], and why the other 2 work without that.
*If* that is the cause, then here's what I would try to fix it:
- Copy your [cam_feature3] CALCTEXT calculation somewhere and save it in case this doesn't work, so you can restore it afterwards.
- Instead of referencing the calc type fields in [cam_feature3], replace them with the actual calculations - thus eliminating the difference in when these different types of calculation are triggered.
- i.e. replace the CALCTEXT you currently have in [cam_feature3] with this:
- @CALCTEXT(if((([cam_3a1]+[cam_3a2]+[cam_3a3]+[cam_3a4])+[cam_3b_score])<>"", if((([cam_3a1]+[cam_3a2]+[cam_3a3]+[cam_3a4])+[cam_3b_score])<"4", "Positive", "Negative"), ""))
- Try again and let us know if it fixed the problem.
The inherent problem with this kind of fix is that if you ever change the calculations in [cam_3a_score] or [cam_3a3b_score] you would also have to change them in [cam_feature3] CALCTEXT to match.
Thanks David.