Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create cursor in a particular work area
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Create cursor in a particular work area
Miscellaneous
Thread ID:
00957814
Message ID:
00957814
Views:
55
Hi All!

I was wondering something... If I select a work area and open a table, the table is opened in that work area (duh)...
SELECT 3
USE TABLENAME.DBF
? SELECT("tablename")
returns a 3

But if I do the following with a cursor ....
SELECT 3
CREATE CURSOR crs_at3 (fname c(1))
? SELECT("crs_at3")
...it opens it in work area 1.(i.e. the next available work area).

I KNOW that the above is not good coding but this is a legacy app and I can't go back and change it. Is there a way to FORCE a cursor to open in a particular work area??

Thanks for any ideas!!!
Kevin Scott
kehvn@carolina.rr.com


Hey! It's not my fault. It's some General named Protection!
Next
Reply
Map
View

Click here to load this message in the networking platform