Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISTRANSACTABLE() i wan't a error for empty workarea
Message
 
 
To
04/06/2004 09:34:02
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00909912
Message ID:
00909914
Views:
7
Fabio,

Can you explain why an error is not good for you? BTW, the workaround is simple
? NOT EMPTY(ALIAS()) AND ISTRANSACTABLE()
>From data.htm:
>
>ISTRANSACTABLE() Function
>
>... If no current alias exists, we will error (Error 13 – Alias not found.).
>

>
>This is not a good choice.
>
>For me a best choice is:
>
>SELECT 0
>? ISTRANSACTABLE() && print NULL is my first choice
>? ISTRANSACTABLE() && print .F.  is my second choice
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform