Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique file names
Message
 
À
10/09/1998 11:27:51
Jeff Carolus
Economic Opportunity Corp.
Saint Joseph, Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00135083
Message ID:
00135089
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform