|
@@ -1582,7 +1582,7 @@ Procedure TDataset.DoInsertAppend(DoAppend : Boolean);
|
|
|
|
|
|
procedure DoInsert(DoAppend : Boolean);
|
|
|
|
|
|
- Var BookBeforeInsert : TBookmark;
|
|
|
+ Var BookBeforeInsert : TBookmarkStr;
|
|
|
TempBuf : pointer;
|
|
|
|
|
|
begin
|
|
@@ -1624,10 +1624,7 @@ Procedure TDataset.DoInsertAppend(DoAppend : Boolean);
|
|
|
// 1-apr-06, JvdS: It just sets the bookmark of the newly inserted record to the place
|
|
|
// where the record should be inserted. So it is ok.
|
|
|
if FRecordcount > 0 then
|
|
|
- begin
|
|
|
SetBookMarkData(ActiveBuffer,pointer(BookBeforeInsert));
|
|
|
- FreeBookmark(BookBeforeInsert);
|
|
|
- end;
|
|
|
end;
|
|
|
|
|
|
InternalInsert;
|