Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does VFP create the temporal filenames?
Message
De
01/08/2001 12:46:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00538049
Message ID:
00538391
Vues:
8
>>Use sys(2015) to create temp files.
>>If you need absolutely 8 in lenght, thinking a temp file's lifecyle is not long, you could use :
>>
>>'_'+substr(sys(2015),4)
>>
>>or make 2 chars part of extension :
>>
>>stuff(sys(2015),9,0,'.')
>
>FYI:
>
>If you want to know how SYS(2015) works and how to convert it to Datetime and vise versa, see FILE#9704
>
>For instance substr(sys(2015),4) will be unique for 36 days.
>
>hth,

Thanks Frank,
I already know its details and for that reason I stated '..lifecycle is not long' :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform