On Wed, May 28, 2008 at 2:15 PM, Michael Van Canneyt <michael at freepascal.org> wrote: > Do you know at which line of your code the error occurs ? > (add writeln()) statements or so...) Hi Michael, I put a breakpoint in and the error occurs when the code gets to "SQLQuery1.First;"