"Overflow in Calculation" or "Not a Valid Integer" Error
  
PSS ID Number: Q115515
Article last modified on 03-07-1997
 

 

 

======================================================================
4.00 5.00 5.10
MACINTOSH
kbprint kberrmsg
 
--------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Word for the Macintosh, versions 4.0, 5.0, 5.1
--------------------------------------------------------------------
 
SYMPTOMS
========
 
During a print merge in Word 4.0, the following error occurs:
 
   Not a Valid Integer for Comparison.
 
During a print merge in Word 5.0 or 5.1, the following error occurs:
 
   Overflow in calculation.
 
CAUSE
=====
 
Word 4.0
--------
 
This problem occurs if a field in your data document contains a numeric
value that is more than 10 digits long, and you are testing that field in a
conditional IF statement using a mathematical operator ( = , < , > , or
<>). For example:
 
   <<IF number=x>><<number>>     |number is greater than 10 digits long
   <<ENDIF>>                     |x is any integer
 
Word 5.0/5.1
------------
 
This problem occurs if a field in your data document contains a numeric
value that is more than 14 digits long, and you are testing that field for
existence using a conditional IF statement. For example:
 
   <<IF number>><<number>>       |number is greater than 14 digits long
   <<ENDIF>>
 
STATUS
======
 
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
 
WORKAROUND
==========
 
There is currently no known workaround for this problem.
 
KBCategory: kbprint kberrmsg
KBSubCategory: kbmerge
Additional reference words: macword 4.00 5.00 5.10 number fails mail
macword5 condition calculate
======================================================================
=============================================================================
Copyright Microsoft Corporation 1997.