Focal Point
[CLOSED] (FOC1470) TYPE CONVERSION FAILED FOR STATEMENT

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1087022995

February 23, 2011, 03:32 PM
Suzy
[CLOSED] (FOC1470) TYPE CONVERSION FAILED FOR STATEMENT
I'm getting this error when I populate the SHIPTOZIP field.

(FOC1470) TYPE CONVERSION FAILED FOR STATEMENT usp_RPT_TransactionList
TABLE FILE USP_RPT_TRANSACTIONLIST
PRINT
*
WHERE ( @I_BASEDATE EQ 2011/02/23 )
AND ( @I_AUTHDATE_TOKEN EQ YEAR|||0 )
AND ( @I_SHIPTOZIP EQ 80127 )
ON TABLE HOLD AS TRANSLIST1 FORMAT ALPHA
END


Master file
 
FIELDNAME=@I_SHIPTOZIP, ALIAS=P0063, USAGE=A10V, ACTUAL=A10VB,
      MISSING=ON, ACCESS_PROPERTY=(NEED_VALUE), $


Does anyone know what could be the issue?

This message has been edited. Last edited by: Kerry,


WebFOCUS 8.0.08
Solaris
HTML, PDF, XLS, CSV
February 23, 2011, 04:28 PM
Waz
(FOC1470) TYPE CONVERSION FAILED FOR STATEMENT %1%2%3%4
An attempt was made to execute a statement that was prepared and bound
with parameterized SQL using data that cannot be converted to the
datatype(s) specified at the time the statement was bound.

Perhaps you could check the master file, and compare to the table.

Also check the SQL being generated for any possible clues.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 02, 2011, 04:32 PM
Suzy
There was an error in the master file, missing an output paramater.


WebFOCUS 8.0.08
Solaris
HTML, PDF, XLS, CSV