Subject | IBO 4.7.16 - "... for insert" does not work any more |
---|---|
Author | Andreas Filsinger |
Post date | 2007-04-02T15:17:45Z |
Hi IBOs,
qTEST := TIB_Query.create(self);
with qTEST do
begin
sql.add('select * from TABLE for insert');
Open;
insert;
FieldByName('RID').AsInteger := 12;
post;
end;
qTEST.free;
#### "for insert" MUST replaced by "for update" ####
sql.add('select * from TABLE for update');
Andreas
qTEST := TIB_Query.create(self);
with qTEST do
begin
sql.add('select * from TABLE for insert');
Open;
insert;
FieldByName('RID').AsInteger := 12;
post;
end;
qTEST.free;
#### "for insert" MUST replaced by "for update" ####
sql.add('select * from TABLE for update');
Andreas