Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Cursor that can be shared
Message
From
23/08/2001 19:22:26
 
 
To
23/08/2001 18:46:26
Ken Knorr
Logos Management Software
Ventura, California, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00548376
Message ID:
00548392
Views:
5
>I'm trying to create a cursor with indexes that can be shared by multiple forms. I created a cursor and indexed in in Datasession 1. Then in a form with Private Data session tried to open it and got file in use. Is there any way to do this. I suppose could create a DBC and table and then use them.

How do you create the cursor? SELECT INTO CURSOR?

If you put ?ISEXCLUSIVE( "MyCursor" ) after, you should see .T.

FWIW, you're misusing private datasessions, IMO. If you want the form to use data that's been prepared by the calling code, then use default datasession. If you want it to prepare the data, have it call the code to prepare it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform