Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO Problem
Message
 
À
04/11/1999 12:52:35
Jp Steffen
Leadership Data Services
Des Moines, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00286959
Message ID:
00286985
Vues:
10
No, hitting the ENDSCAN does an implicit SELECT ZoneList.

>Pamela don't you need to SELECT ZoneList before ENDSCAN?
>>
>>
>>
>>------------
>>
>> USE zonelist
>> SCAN
>> tmpzone = zone
>> tmpfile = "zone" + alltrim(tmpzone) + ".dbf"
>> wait window "DBF = " + tmpfile
>> tmpfile2 = "zone" + alltrim(tmpzone) + ".txt"
>> wait window "TXT = " + tmpfile2
>> IF FILE("&tmpfile2")
>> wait window "txt file exist for " + tmpzone
>> DELETE FILE "&tmpfile2"
>> ENDIF
>> wait window "generate txt file for " + tmpzone
>> USE "&tmpfile"
>> COPY TO "&tmpfile2" type delimited
>> ENDSCAN
-cjh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform