Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use ? and cancel
Message
From
25/02/2000 08:01:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/02/2000 07:17:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00337380
Message ID:
00337395
Views:
13
>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform