Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy To
Message
 
 
À
05/11/2004 16:28:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00958688
Message ID:
00958703
Vues:
18
>I'm saving a file to directory below, my opportunity is if the users saves multiple times it will keep overwriting. I'd like for this to increment by 1, based on if this file exist. Any direction appreciated. Thanks
>
>COPY TO c:\039\packetsys\outgoing\orders.txt DELIMITED WITH " " WITH CHARACTER ','

You can use Name Expression
lcFileName = "c:\039\packetsys\outgoing\orders" + TIME() + ".txt"
COPY TO (lcFileName) DELIMITED WITH " " WITH CHARACTER ','
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform