>>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