>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.