[Lazarus] External SIGSEGV (random) when assigning TBookmark
Michael Van Canneyt
michael at freepascal.org
Tue Nov 3 19:35:52 CET 2015
On Tue, 3 Nov 2015, Leonardo M. Ramé wrote:
> 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.
No, there is not.
Michael.
More information about the Lazarus
mailing list