Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file + variable, error
Message
De
04/08/2008 09:00:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01336220
Message ID:
01336222
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Try
txtPathName =  "DADOS\ECT\ECT" + DTOS (DATE ()) + ".TXT"
COPY FILE (ansFullPth) TO (txtPathName) TYPE SDF
>I teste
>
>COPY FILE &anxFullPth TO "DADOS\ENVIO.DBF"
>
>works fine
>
>Then
>
>txtPathName = "DADOS\ECT\" + "ECT" + CHRTRAN(DTOC(DATE()),"/","") + ".TXT"
>COPY FILE &anxFullPth TO txtPathName
>
>Returns:
>
>"command contains unrecognized phrase/keyword"
>
>Also tried
>
>COPY FILE &anxFullPth TO &txtPathName
>
>***** &anxFullPth is the file to be copied with its full path
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform