Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to
Message
De
10/05/2006 08:46:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Copy to
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01120672
Message ID:
01120672
Vues:
90
hi all,

i try this code below , first it works get as example 24kb
SET DEFAULT TO ([w:\Quality Test 01\Source Data\]getfile.xls)
COPY FILE (thisform.text9.Value ) TO [w:\Quality Test 01\mtest\]+(JUSTFNAME(thisform.text9.Value )+ [.xls])
i try via this code i get just 1kb mean empty excel sheet.
lcFile22=JUSTFNAME(thisform.text9.Value)
? lcFile22
    if adir(dummy,lcFile22)>0
       MESSAGEBOX(" file exists")
   else
        COPY  TO [w:\Quality Test 01\mtest\]+(JUSTFNAME(thisform.text9.Value ))
   ENDIF
thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform