Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you add records to a cursor?
Message
De
10/08/1999 14:32:19
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00252128
Message ID:
00252131
Vues:
12
>I have a cursor created from a SQL.
>
>While I can append blank records to the cursor, I can not enter data to the new records.
>
>Is this the expected behavior? I do not want to save the cursor, just add a record to the data, print it and then destroy it.
>
>Thanks.

A cursor created by SELECT - SQL is read-only. However, you can issue a USE...AGAIN on the cursor; this renders it read-write, where you can perform nearly all table-related operations.

There's an article in the Knowledgebase FAQs on this.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform