Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does VFP create the temporal filenames?
Message
 
À
01/08/2001 06:37:49
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:
00538307
Vues:
9
>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,
Frank Camp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform