Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STRTOFILE Function Not working
Message
 
 
À
31/10/2017 15:35:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01655311
Message ID:
01655313
Vues:
65
>I am using this commands
>
>
>Select New_bills
>lcStr = Filetostr(cFullpath) 
>? lcStr && Displays the File Contents well on screen
>Strtofile(lcStr, cNewpath, .F.)
>Strtofile(lcStr, "D\Allfiles", .F.)
>
>
>Both the above strtofile does not copy the file to the desired location ile cNewpath.
>
>What wrong I am doing.
>
>Regards
>Harsh

What do you have in cNewPath variable?

For the second, try

strtofile(m.lcStr, "d:\AllFiles\test.txt", .f.)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform