Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown(2) in Data Session Dlg.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00518686
Message ID:
00518708
Views:
13
Allan,

Opening a Default DS form from a Private DS form will cause the "child" form to run in the same DS. So it is using the same set of record pointers. If you do not wish to have this behavior then you need to set the second form to use it's own Private DS.

>I have created 2 modal forms (Form1 and Form2). Form1 datasession property was set to 2 (Private), while Form2 is in Default. In Form1 open the form Form2 using 'do form'. I've notice, in Data Session dlg. box, that Form2 uses same DataSessionID no. which is 2. And i when exit Form2, Form1 DataSession became 'Unknown(2)', and the index and rec. pointer of the tables was altered.
>
>Can someone pleas tell why this happen and work around to this problem...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform