Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem datasession
Message
From
27/08/2002 13:37:09
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
27/08/2002 13:08:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00693745
Message ID:
00694136
Views:
17
Hi Mace,

ptst1 is a MapObject's points collection.

I tried your suggestion (_VFP.DoCmd...) but it still leaves an Unknown datasession.

Thanks for trying to help.

Mike.



>Mike,
>
>What is ptst1?
>
>If the add method adds something to the _screen in a private datasession, the private can't be released.
>
>You could try Christof Lange's suggestion, which is to use the _VFP.DoCmd method. This adds objects in the Default Datasession, and could avoid your problem.
>
>So, instead of 'ptst1.ADD(opoint)', use:
>
>_VFP.DoCmd( 'ptst1.ADD(opoint)' )
>
>Mace
Previous
Reply
Map
View

Click here to load this message in the networking platform