Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set exact of session
Message
From
31/05/2005 11:01:14
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018672
Message ID:
01018711
Views:
12
>thanks, I'll try to always set those I need.

Hi Ken,

One easy/practical way to handle this is to set your standard environment settings in one function that is part of you main function library.
This way you can easily set your standard environment settings in one line of code.
function set_env
set deleted on
set talk off
set this ...
set that ...
.
.
.
return 


define class mysession as session 

  procedure init
  =set_env()
  this.open_tables()

  procedure open tables
  .
  .

enddefine
Rgds++
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform