General information
Category:
Coding, syntax & commands
>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only