Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select - Accessing older view if more than 1 instanc
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00005022
Message ID:
00005034
Vues:
26
>Mark says:
>In the SHOW STATUS command, Foxpro tells me that those two views are two separate temporary files. In fact, they have to be, because they contain different data.
>
>Tom, can you shed a little light for me on the use of datasessions? Even though I have read about them, I'm still not sure how to use them, or even how to experiment with them. For example, how does one programmatically create a data session? I've already found that if you try to change to a datasession (via SET DATASESSION) that doesn't exist, you get an error message.

DataSession is really a form property. There are 2 types, Default & Private.

Default is like everyday data stuff in the big city. Private can be thought of as a seperate PC on a network having it's own data sessons except it is happening on the local PC.

I am currently using Private data sessions in an Order Entry system. Every order Entry form has it's own data session. This isolates each transaction into it's own little 'data world'.

Be careful though because Private data sessions can EAT a lot of system resources up quickly. With carefull use they are real nice to use.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform