R
rockFish
My protected document contains three form fields with the bookmarked
names HIGH, LOW, and RANGE. Both the HIGH and LOW fields are manually
entered with numbers or are left blank (empty). The RANGE field is
calculated using the difference between HIGH and LOW.
The problem I'm having is trying to make the form field RANGE show a
"0" when the two bookmarked fields (HIGH and LOW) are calculated
*and* remain blank when the bookmarked fields are left blank.
Using the expression =HIGH-LOW \# "#;-#; " in the RANGE field options
only solves part of my problem. When HIGH and LOW are blank, RANGE is
blank. But if HIGH-LOW=0, RANGE still remains blank. I guess that's a
limitation of the numeric picture field switch as it interprets a
"blank" field as a zero. Is there anything using VBS that would
work correctly in this situation?
names HIGH, LOW, and RANGE. Both the HIGH and LOW fields are manually
entered with numbers or are left blank (empty). The RANGE field is
calculated using the difference between HIGH and LOW.
The problem I'm having is trying to make the form field RANGE show a
"0" when the two bookmarked fields (HIGH and LOW) are calculated
*and* remain blank when the bookmarked fields are left blank.
Using the expression =HIGH-LOW \# "#;-#; " in the RANGE field options
only solves part of my problem. When HIGH and LOW are blank, RANGE is
blank. But if HIGH-LOW=0, RANGE still remains blank. I guess that's a
limitation of the numeric picture field switch as it interprets a
"blank" field as a zero. Is there anything using VBS that would
work correctly in this situation?