Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set exact of session
Message
De
31/05/2005 11:01:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01018672
Message ID:
01018711
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform