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.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to