Here's the code I have.
COUNT for fullrsn = reasdesc to ttlallvends
IF ttlallvends > 0
** some stuff happens here but it's never reached
ENDIF
eLSE
SELECT step1vendors
GO bottom
eNDIF
THE PROBLEM IS AT THE
SELECT STEP1VENDORS
It generates a "DATA TYPE MISMATCH" error, although if I suspend and step through that line again, it works fine.
Ideas?
It only generates the error one time. This code is hit several times and is successful after the first time it bombs.
COUNT for fullrsn = reasdesc to ttlallvends
IF ttlallvends > 0
** some stuff happens here but it's never reached
ENDIF
eLSE
SELECT step1vendors
GO bottom
eNDIF
THE PROBLEM IS AT THE
SELECT STEP1VENDORS
It generates a "DATA TYPE MISMATCH" error, although if I suspend and step through that line again, it works fine.
Ideas?
It only generates the error one time. This code is hit several times and is successful after the first time it bombs.