Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two Datasessions
Message
From
26/07/2000 17:24:05
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00397323
Message ID:
00397342
Views:
8
Larry,

Thank You very much!!

>>I have a few questions...
>>One...
>>
>>Can you open a second datasession programmatically? If you can please point me in the right direction.
>
>Yes. You have to have at least SP3 for VFP and create a Session object. This will give you the new datasession.
>Ex.
>oSession = createobject("Session")
>set datasession to osessio.datasessionID
>< open my tables here >
>
>Or you can create a subclass of the session object and create methods to open your tables and perform whatever operations you need.
>
>>
>>Two...
>>
>>If you can, and you open a table that is already open in the first datasession. Will the updates from datasession two be seen real time or only after the table in the second datasession closes or not at all?
>>
>
>See SET REFRESH in the help. Or you can always issue an Rlock() in the second datasession to refresh to buffer and unlock it immediately.
>
>>Thank You
Previous
Reply
Map
View

Click here to load this message in the networking platform