Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File must opened exclusive
Message
De
18/08/2004 04:54:54
 
 
À
18/08/2004 04:48:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00933998
Message ID:
00934030
Vues:
41
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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform