Subject | Problem editing with TIBOQuery |
---|---|
Author | steve@harpservices.com |
Post date | 2000-12-05T17:00:34Z |
Hi All,
I'm getting the error "Cannot Edit current Row" when trying to edit
using a TIBOQuery control.
Error Class: EIB_DatasetError
Error Message: Cannot Edit current Row
My code is very simple:
with DM.qryMItem do
Begin
While (not Eof) do
Begin
Edit;
FieldByName('Sales').AsFloat := 0.0;
Post;
Next;
End;
End;
What am I missing?
Thanks,
Steve Harp
steve@...
I'm getting the error "Cannot Edit current Row" when trying to edit
using a TIBOQuery control.
Error Class: EIB_DatasetError
Error Message: Cannot Edit current Row
My code is very simple:
with DM.qryMItem do
Begin
While (not Eof) do
Begin
Edit;
FieldByName('Sales').AsFloat := 0.0;
Post;
Next;
End;
End;
What am I missing?
Thanks,
Steve Harp
steve@...