Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi user unique file names?
Message
From
28/02/2002 01:30:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00625605
Message ID:
00626191
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Thanks a lot for the Function, I've just got to make the decision of now many clashes the other route is likely to make, but I guess that I will probable have to use your function just to be on the safe side!

Hi Caroline,

if you wanted to solve it in VFP completely, you could concatenate the host name of the machine running your application with SYS(2015):
lcUniqueName = LEFT(SYS(0),AT(" #",SYS(0))-1) + SYS(2015)
. At least within your local network this should be unique.

HTH Robert
I've acquired quite a taste for a well-made mistake... [Fiona Apple]
Previous
Reply
Map
View

Click here to load this message in the networking platform