<p> </p>
<p class="imp-signature"><!--begin_signature-->-- <br />
Dipl. Phys. Jörg Schläger<!--end_signature--></p>Zitat von Bo Berglund <bo.berglund@gmail.com>:<br /> <br />
> On Mon, 24 Jan 2011 09:28:05 +0200, Graeme Geldenhuys<br />
> <graemeg.lists@gmail.com> wrote:<br />
><br />
>> Alternatively, add the SqlDB source path to your project, then when you<br />
>> compile your project, it will compile the SqlDB code too - as if it was<br />
>> part of your project source code.<br />
>><br />
><br />
> Thanks, this was the simple way I have been looking for!<br />
> Now that I did that the patch activated and I could see that it no<br />
> longer barfs at the EXEC verb.<br />
> Still only returns one record out of 4, though.<br /> <br />is it possible for you to do something like this ?<br /><br />ii := 0;<br />Query1.open;<br />while not Query1.eof do<br />begin<br />iii := ii + 1;<br />Query1.next;<br />end;<br /><br />then check ii.<br /><br />In Delphi the behavour of Query1.recordcount with ODBC and MSsql is mystic<br /><br />><br />
><br />
> --<br />
> Bo Berglund<br />
> Developer in Sweden<br />
><br />
><br />
> --<br />
> _______________________________________________<br />
> Lazarus mailing list<br />
> Lazarus@lists.lazarus.freepascal.org<br />
> <a target="_blank" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br />
><br /><br />
<br />
----------------------------------------------------------------<br />
Dip. Phys. Jörg Schläger<br />
Auftragsentwicklung Meßtechnik<br />
www.jsdevelop.de<br />
<br />