Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy To
Message
 
 
To
05/11/2004 16:28:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00958688
Message ID:
00958703
Views:
17
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform