Information générale
Catégorie:
Codage, syntaxe et commandes
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement