General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only