Page 1 of 1

Bookmark was not found

Posted: 11.01.2010, 05:00
by alter
Whenever I am trying to opan a query i get this message: Bookmark was not found. And application instantly terminates.

This is the code that causes problems:

Code: Select all

  if Database.SQLQuery.Active then Result:=-1 else begin
    Database.SQLQuery.SQL.Text:=Sql;
    Log.Add('Opening query for: '+sql);
    Writeln(sql);
    Database.SQLQuery.Open;
    Result:=0;
  end;  
I am running Postgresql 8.3 server on Linux. Connection is properly established (at least no error occurs). FPC version is 2.4.0 and Lazarus revision is 0.9.29 23415

Posted: 12.01.2010, 22:46
by seawolf
Which Zeos version have you installed? Zeos trunk between 723 to 742 has a known bookmark bug