[Lazarus] External SIGSEGV (random) when assigning TBookmark

Michael Van Canneyt michael at freepascal.org
Tue Nov 3 08:40:04 CET 2015



On Mon, 2 Nov 2015, Leonardo M. Ramé wrote:

>
> El 01/11/15 a las 09:25, Leonardo M. Ramé escribió:
>> Hi, I don't use data aware controls too often, but as I'm updating a
>> legacy application I have to use them.
>> ...
>
> I finally solved this by getting the value of a primary key, then after 
> TSQLQuery.refresh I do a locate for that key, works like a charm.
>
> What I don't get is what's the purpouse of TBookmark, I thought it was made 
> for solving the problem I had.

Bookmarks are only valid until the dataset closes.
I will add this to the documentation.

Michael.


More information about the Lazarus mailing list