Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use ? and cancel
Message
De
25/02/2000 09:35:58
 
 
À
25/02/2000 08:01:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00337380
Message ID:
00337441
Vues:
14
>>>Hi Cemal,
>>>
>>>>How to know if the user has canceled after an USE ? command.
>>>
>>>IF EMPTY(ALIAS())
>>>
>>>Christof
>>Hi Christof,
>>I have other files in use at same time.
>>And the alias() is not empty before the use ? command.
>>Thanks.
>
>
Cemal,
>Select 0
>then do a check for alias() would do the job. But at times you actually might want to control it more precisely. I suggest you do a getfile("DBF") first and if the return value is not empty use it as you like (esc - empty).
>Cetin
Thanks cetin,
You solved my problem.
I want to use "use?" because when a database is open you can select from the tables list.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform