[Lazarus] External SIGSEGV (random) when assigning TBookmark

Leonardo M. Ramé l.rame at griensu.com
Tue Nov 3 19:13:59 CET 2015


El 03/11/15 a las 04:40, Michael Van Canneyt escribió:
>
>
> 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.
>

Ok, but apart from Closing/Opening or Refresh, is there any other way to 
reload a dataset without closing it? TSqlQuery.Refresh also loses the 
Bookmark.

Regards,
Leonardo.




More information about the Lazarus mailing list