Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DATA SESSION lost cursor
Message
From
11/02/1997 13:39:21
 
 
To
11/02/1997 13:24:31
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00019939
Message ID:
00020059
Views:
45
>I think your problems will come when you SET DATASESSION TO and the table you have as your grid's source is not open in that datasession.

Yes, this would make sense.

Here's again the operation steps.

1. In the Init() of my form I do ThisForm.DataEnvironment.OpenTables()
2. I then CREATE CURSOR USERCRIT...
3. Assign USERCRIT alias to my grid
4. Assign USERCRIT fields to my grid's fields
5. Everything is ok, I see my grids will all the fields and am able to add records to it
6. I click the button to start my report
7. lnDataSession=ThisForm.DataSessionId
8. SET DATA SESSION TO anotherdatasession
9. This is where my grid becomes blank
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform