Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique file names
Message
 
To
10/09/1998 11:27:51
Jeff Carolus
Economic Opportunity Corp.
Saint Joseph, Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00135083
Message ID:
00135089
Views:
11
>I have a form where I return the results of queries into several temporary files. I am using the sys(3) function to get the names for these. After upgrading to VisFox 6 I have several users who are having problems with duplicate file names. I have even put timing loops in between the sys(3) statements with no luck. Anyone have any suggestions how to get the unique file name function to return unique file names?

Hi Jeff,

The docs on SYS(3) say that on fast machines it may not work. It recommends "Use SUBSTR(SYS(2015), 3, 10) to create unique, legal eight character file name."

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform