I am adding a record in a table of a database by using the following
statements:
DATABASENAME.TABLENAME.append;
DATABASENAME.TABLENAME.FieldByName('FIELDNAME').value := FIELDVALUE;
.
.
.
.
DATABASENAME.TABLENAME.post;
I constantly get the error message: Dataset not in edit or insert mode. What
is causing this?
I've checked edit, insert, edit mode, and insertmode in the help files, but
can't find the reason for this error.
Thank you
Johann
Rael
Johann <crot...@datanet-sa.co.za> wrote in message
news:3e30...@newsgroups.borland.com...
Make sure DATABASENAME.TABLENAME.ReadOnly is set to False.
--
Rick Betting,
Online Software.
ri...@ATonlinegroepDOT.nl
(Remove AT and DOT )
Nam et ipsa scientia potestas est
"Johann" <crot...@datanet-sa.co.za> schreef in bericht
news:3e30...@newsgroups.borland.com...