Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File must opened exclusive
Message
From
18/08/2004 04:54:54
 
 
To
18/08/2004 04:48:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00933998
Message ID:
00934030
Views:
52
It seems that I have a bad day today! Of course you are right. :-) Let's try again:
local lcSafety
lcSafety=SET('SAFETY') && to 'remember'
SET SAFETY OFF
USE TABLE4 EXCLUSIVE && if you get an error here, the table is already open, either by you, or another user
ZAP
IF lcSafety='ON'
  SET SAFETY ON && to reset
ENDIF
>>Sorry, I was a little too quick, try this:
>>local lcSafety
>>lcSafety=SET('SAFETY') && to 'remember'
>>SET SAFETY OFF
>>USE TABLE4 EXCLUSIVE && if you get an error here, the table is already open, either by you, or another user
>>ZAP
>>IF lcSafety='OFF'
>>  SET SAFETY OFF && to reset
>>ENDIF
>>>hi,
>>>
>>>i get error message(syntax error) for
>>>
>>>local lcSafety=SET('SAFETY')
>>>
>>>thanks.
>
>hi Tore,
>
>Should OFF not be ON in the code after the ZAP ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform