Difference between revisions of "Visimage FAQ"

From Vital Soft Wiki
Jump to: navigation, search
Line 12: Line 12:
 
:*In this example, the convert error is being caused by a foreign zip-code. Change the variable definition for ADD-OWN-ZIP from Numeric to '''Character, length 10'''.
 
:*In this example, the convert error is being caused by a foreign zip-code. Change the variable definition for ADD-OWN-ZIP from Numeric to '''Character, length 10'''.
 
<pre>
 
<pre>
 +
Error #138 in list execution:
 +
Error #138 in selection:
 
Convert Error - Invalid Digit:(X2 -> P20) TX
 
Convert Error - Invalid Digit:(X2 -> P20) TX
 
</pre>
 
</pre>

Revision as of 16:31, 6 June 2023

Visimage3 Frequently Asked Questions

Convert Error

Convert Error - Invalid Digit:(X10 -> P20) OX5 2LD
reg:#add-own-zip exp:ADDRESS-INFO.ZIP
  • The error message contains useful information to help isolate the issue:
  • Visimage3 is trying to convert a character, length 10, value (X10) to a numeric (P20) value.
  • The value in the original X10 field is: OX5 2LD
  • The expression is: #add-own-zip = ADDRESS-INFO.ZIP
  • In this example, the convert error is being caused by a foreign zip-code. Change the variable definition for ADD-OWN-ZIP from Numeric to Character, length 10.
Error #138 in list execution:
Error #138 in selection:
Convert Error - Invalid Digit:(X2 -> P20) TX
  • In this example, there is less information displayed. That indicates, that this error does not involve a variable compute statement.
  • Again we see that a Character value (X2) is being converted to a numeric (P20).
  • The value that cannot be converted to a number is: TX
  • This error was caused by attempting to total the MEMBER-FILE.STATE column. Remove the Total option to clear the error.