>Thanks Sergey
>I am developing with vfp7.
>How the hell do I "base my class on the session class" ?
>
>Rgds
Try this:
DEFINE CLASS MyClass AS SESSION
DATASESSION = 2
PROCEDURE Init
USE MyTable in 0
ENDPROC
...
HTH :-)
>>>I am writing a class with code (define class myclass as custom).
>>>
>>>Is it possible to isolate the data access I do in it by creation a kind of private datasession by code ?
>>>
>>>Thanks
>>>Eric
>>
>>In this case you can base your class on the Session class. It requires at least VFP6 SP3.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca