On Sun, 1 Nov 2015 17:06:18 +0100, Luca Olivetti <l...@wetron.es> wrote: > El 01/11/15 a les 13:25, Leonardo M. Ramé ha escrit: > >> To me, the code looks correct, but I'm getting a SIGSEGV while assigning >> the bookmark. I must add the error only happens the 2nd or 3rd time this >> method is called: > > I suppose that's because the bookmark is only valid while the query is > opened, buy you close it between getting the bookmark and setting it. >
Also: in my experience in Delphi closing with DisableControls active is a bad idea. I have seen cases, when components are still referencing old field instances. -- Virgo Pärna virgo.pa...@mail.ee -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus