Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same Unique File Names
Message
From
23/08/2001 11:38:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00548017
Message ID:
00548035
Views:
9
This message has been marked as the solution to the initial question of the thread.
>Same Unique File Names
>
>In a freak hapenning FPD25b under Win2K on PIII 500 returned the following (excerpts from the error log):
>
>Z25SPCKG (hid) C "_72601579" SQLCUSTCOM
>Z25MCHNL (hid) C "_72601579" SQLCUSTCOM
>
>Any solutions that this does not happen again?

From the manual: "SYS(3) may return a non-unique name when issued successionally on a fast computer. Use SUBSTR(SYS(2015), 3, 10) to create unique, legal eight character file name."

If it isn't filenames you need, forget about the substr().

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform