Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot update the cursor
Message
De
27/07/2003 12:03:46
 
 
À
27/07/2003 08:18:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00813878
Message ID:
00813910
Vues:
9
>I don't have the problem in cursor (who created by SQL), I can't insert into table (when I use with 'debug' before this point, when I can't edit the table manualy - status bar msg: the control is read only).


Chaim, you say the error occurs on the insert line of the save routine. ie:
insert into paysort values (addtableid('PAYSORT'),paysort1.descript)
This line access' two tables:

(1) The paysort table. If this is a cursor created with SQL select you must do as Goran suggest and include the READWRITE clause when creating the cursor, otherwise cursor is read only.

(2) The addtableid() routine is accessing and trying to write to a table called tableids. Is this table set for read only by any chance?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform