Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding field to a cursor
Message
De
05/08/2002 10:15:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/08/2002 02:44:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00685818
Message ID:
00686137
Vues:
36
>From a cursor, I want to add some specific fields. I am presently using this approach:
>
>
>CREATE CURSOR TempNotes (Notes M)
>APPEND BLANK
>SELECT Temp.*,TempNotes.Notes AS Url,SPACE(20) AS Image FROM Temp,TempNotes;
> INTO CURSOR Temp2 READWRITE
>
>
>I was wondering if there would be a way to do that without redoing a SQL from the main cursor into another cursor. Basically, I would like to simply add the additional fields in the Temp cursor without having to select all in Temp2.

You can send the result back into Temp: change the above to:
... into cursor Temp ReadWrite
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
Répondre
Fil
Voir

Click here to load this message in the networking platform