Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATE CURSOR in particular workarea
Message
De
13/07/2001 08:00:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
13/07/2001 00:58:49
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00530091
Message ID:
00530158
Vues:
15
>>Hi,
>> How to CREATE CURSOR in selected workarea?
>> How to SELECT ...INTO CURSOR in particular workarea?
>
>Does SELECT 0 solve the problem?
>
>> I face a problem "cannot access the selected table". I found that, it caused by my temporary cursor and my query result appear in same workarea. How to seperate it?
>
>If SELECT 0 doesn't help, what are the series of commands causing the trouble?

SELECT 0 is OK for CREATE CURSOR; otherwise, I think, the cursor will be created in the current work area. SELECT 0 is preferable to, e.g., SELECT 5, since you can be sure that SELECT 0 will select an un-used area.

SELECT ... INTO CURSOR automatically creates the cursor in an un-used area, so you should have no problems there. I see no reason to try to create the cursor in a specific area.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform