Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN Code Problem
Message
From
03/11/1999 11:35:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SCAN Code Problem
Miscellaneous
Thread ID:
00286212
Message ID:
00286212
Views:
51
For some reason the code within the SCAN is not working it only makes one pass. NO error message or anything. If I comment out the code and just have a wait window show the tmpzone, it passes through the entire cdsadd table. What could the problem be?

-----

SELECT cdsadd
SCAN
tmpzone = zone
TMPFILE = "zone" + alltrim(tmpzone) + ".dbf"
TMPFILE2 = "zone" + alltrim(tmpzone) + ".cdx"
WAIT window "file = " + tmpfile
IF FILE("&tmpfile")
WAIT window "file exist"
ELSE
WAIT window " file does not exist"
COPY TO "&tmpfile" FOR zone = tmpzone
ENDIF
ENDSCAN
Next
Reply
Map
View

Click here to load this message in the networking platform