Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editable Temporary Cursor with SQL Code?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01304907
Message ID:
01304909
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>As I remember, in order to create a modifiable cursor, meaning that the fields are editable, I had to actually use the CREATE CURSOR command, but is there a way to do this with SELECT SQL Code?
>
>I tried the following and of course, the temporary cursor's fields weren't editable. I really only care to alter the lSelect field, using a checkbox in a GRID. The user selects the SPECS that he wants to print so that he can see multiple Specifications in one report, based on those he selects:
>
>
>SELECT ;
>    prod_no, ;
>    .f. As lSelect;
>  FROM specs ;
>  ORDER BY prod_no ;
>  INTO CURSOR tmpSpecs
>
Cecil,

Use READWRITE clause.
SELECT ;
>    prod_no, ;
>    .f. As lSelect;
>  FROM specs ;
>  ORDER BY prod_no ;
>  INTO CURSOR tmpSpecs READWRITE
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform