Code:
SELECT OutstandingStatus_ACP
SCAN
IF (OutstandingStatus_ACP.nPoQty>=OutstandingStatus_ACP.nGrnValue) THEN
SELECT OutstandingStatus_ACP
replace OutstandingStatus_ACP.nNotGRN WITH OutstandingStatus_ACP.nGrnValue
ELSE
SELECT OutstandingStatus_ACP
replace OutstandingStatus_ACP.nGRNComplt WITH OutstandingStatus_ACP.nGrnValue
ENDIF
ENDSCAN
I used this to replace my nGrnValue to new fields. When I run my code it says Numeric overflow. data was lost.
How can I fix this?