Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create cursor in a particular work area
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Create cursor in a particular work area
Divers
Thread ID:
00957814
Message ID:
00957814
Vues:
56
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform