Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique Procedure Name but in alphabets only
Message
De
13/11/2007 05:20:06
 
 
À
13/11/2007 05:13:57
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Divers
Thread ID:
01268586
Message ID:
01268603
Vues:
13
>Hi Tore,
>
>>>Hi all
>>>
>>>I need to have a unique procedure name but in alphabets only. The reason being that I need to create a (temp) table on the FireBird backend.
>>>
>>>Please suggest.
>>
>>You can use something like Chrtran(Sys(2015),'_0123456789','ABCDEFGHIJK'). To be 100% sure, check if a file with the temp name already exist.
>

>It's very cool. It's simple (creative) and useful. 8-D
>Congratulations!

Thanks. But be aware that this function is not guaranteed to give a unique file name, so I suggest to check whether a file with the same name alrady exists.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform