I'm trying to add a record using a form that user must populate, as I do in
other tables, but there is a table of the same database that show the next
error message: "cannot modify a read only dataset". I'm using a simple
Append() method, as I do in other tables that works well. any idea about
which can be the problem?
Regards,
pcerdaz
First do you have an InsertSQL (assuming you are using TIBDataset). If not then
you need to add one. Second look at the LiveMode and make sure Insert is in
there. If not then you have a permission problem on that table.
> Regards,
> pcerdaz
>
>
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
Regards,
pcerdaz
"Jeff Overcash (TeamB)" <jeffov...@mindspring.com> escribió en el mensaje
news:46dc8a0a$1...@newsgroups.borland.com...
A property in TIBDataset. It tells you what permissions you have on the table
you are trying to update.
TFormFormularioIngredientes *FormFormularioIngredientes;
FormFormularioIngredientes = new TFormFormularioIngredientes(NULL);
DMTEC->IBDS_Ingredientes->Append();
if(FormFormularioIngredientes->ShowModal() == mrOk)
DMTEC->IBDS_Ingredientes->FieldByName("FechaCosto")->AsString =
DateToStr(Date());
else
DMTEC->IBDS_Ingredientes->Delete();
DMTEC->IBDS_Ingredientes->Post();
Any idea would be gratefully.
Regards,
pcerdaz
"Jeff Overcash (TeamB)" <jeffov...@mindspring.com> escribió en el mensaje
news:46dd9036$1...@newsgroups.borland.com...