I have a table (SCF2St) which contains two columns, one of which contains only Zip Codes (Pscf) in string format and is exactly 5 characters wide.
'zcurrval' contains an ALLTRIMmed 5-digit zip code in string format.
Why won't the following code work?
[tt]
= TORDER('SCF2St', 'Pscf') && SELECTs & ORDERs table
znear = SET('NEAR')
zexact = SET('EXACT')
SET EXACT OFF
SET NEAR ON
&& Table is correctly SELECTed here
&& Table is correctly ORDERed here
SEEK zcurrval
&& ALWAYS sets EOF() to .T.
&& and ALWAYS moves record poiner to EOF
SET NEAR &znear
SET EXACT &zexact[/tt]
mmerlinn
"Political correctness is the BADGE of a COWARD!"
'zcurrval' contains an ALLTRIMmed 5-digit zip code in string format.
Why won't the following code work?
[tt]
= TORDER('SCF2St', 'Pscf') && SELECTs & ORDERs table
znear = SET('NEAR')
zexact = SET('EXACT')
SET EXACT OFF
SET NEAR ON
&& Table is correctly SELECTed here
&& Table is correctly ORDERed here
SEEK zcurrval
&& ALWAYS sets EOF() to .T.
&& and ALWAYS moves record poiner to EOF
SET NEAR &znear
SET EXACT &zexact[/tt]
mmerlinn
"Political correctness is the BADGE of a COWARD!"