Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The scope of SET ... command
Message
From
09/11/1999 20:46:08
 
 
To
09/11/1999 20:42:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00289390
Message ID:
00289392
Views:
21
Hi John,

>What is the scope for SET ... command such as SET DELETED ON? I tried to set all neccessary environment in my main.prg, but the "environment" is not visible in my form. I need to issue every necessary SET command in every form. Anyway to avoid this redundance work?

It is scoped to each data session, that means when you have a private datasession in a form, you need to set deleted, and some others in the load():

set talk off
set safety off
set deleted on
set fullpath on
set exact off
set unique off
set multilocks on
set exclusive off
set sysformats on
set century on
set bell off
set compatible off
Previous
Reply
Map
View

Click here to load this message in the networking platform