Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot update the cursor
Message
From
27/07/2003 12:03:46
 
 
To
27/07/2003 08:18:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813878
Message ID:
00813910
Views:
8
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform