Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving cursors
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00441240
Message ID:
00441316
Views:
7
>The CREATE VIEW command doesn't save any open cursors. This makes sense, given their temporary nature, but I need to save them.
>
>We were thinking of scanning through all the aliases to see which had ".TMP" $ UPPER(DBF("whatever")). It seems like this would give a list of which aliases wouldn't be saved by CREATE VIEW. I could then save those to disk and recall them later.
>
>Does anyone see a reason why this wouldn't work, or know a better way? And, yes, I do need to save the cursors for this, so please don't write just to tell me that saving the cursors is a bad idea. :)
>
>Thanks,
>
>Michelle

Normally cursors are readonly and exclusively opened.
So ISEXCLUSIVE() and ISREADONLY() will help, I think...

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform