Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Session Problem
Message
From
02/08/2001 09:46:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/08/2001 09:44:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00538781
Message ID:
00538783
Views:
7
>I created a form with a Private Data Session. The reason for this is that this form can be called by a hotkey anywhere, and I do not want the form and the tables it uses to mess up in any way the current set of tables open.
>
>Since this is a Private Data Session, it should restore all tables to their original condition after form is closed. For some reason, its not doing this. Can anybody think of any reason why this should be occurring?
>
>It seems that this just started. Originally it was working fine.

The datasession + the associated tables can't be closed in a number of circumstances. If I remember correctly, these include: 1) uncomitted changes (if you use buffering), 2) open transaction.

Use the SET command to see data sessions other than the default.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform