>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