<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Gurock Software Support Forum - Unexpected dataset logger behaviour]]></title>
		<link>http://forum.gurock.com/topic/31/unexpected-dataset-logger-behaviour/</link>
		<description><![CDATA[The most recent posts in Unexpected dataset logger behaviour.]]></description>
		<lastBuildDate>Fri, 07 Apr 2006 22:08:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Unexpected dataset logger behaviour]]></title>
			<link>http://forum.gurock.com/post/83/#p83</link>
			<description><![CDATA[<p>Hello Gerben,</p><p>we could reproduce the problem and it looks like it&#039;s a bug in the TIBQuery class. A bit simplified, reassigning the RecNo property like this</p><p>IBQuery1.RecNo := IBQuery1.RecNo;</p><p>messes the dataset up if it&#039;s empty. SmartInspect 1.4 will contain a workaround for this behavior and if you need it earlier, you can change the SmartInspect.pas unit:</p><p>Just add the following code to line 11289 just before the SendContext call:</p><p>-------------------------------------<br />end;<br />-------------------------------------</p><p>And add the following code to line 11248 just before LOriginalRecordPosition is assigned:</p><p>-------------------------------------<br />if not ADataSet.IsEmpty then<br />begin<br />-------------------------------------</p><p>If you apply this fix, please make sure to use the source files instead of the precompiled dcu files. To do this, just replace the SmartInspect library path in Delphi&#039;s environment options with the SmartInspect\source\delphi directory.</p>]]></description>
			<author><![CDATA[null@example.com (dgurock)]]></author>
			<pubDate>Fri, 07 Apr 2006 22:08:15 +0000</pubDate>
			<guid>http://forum.gurock.com/post/83/#p83</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unexpected dataset logger behaviour]]></title>
			<link>http://forum.gurock.com/post/82/#p82</link>
			<description><![CDATA[<p>I&#039;m using the TIBQuery component from the &#039;Interbase&#039; tab in Delphi 7. &#039;We&#039; do not use the IBTable component so I can&#039;t say if it displays the same behaviour too.</p>]]></description>
			<author><![CDATA[null@example.com (Gerben)]]></author>
			<pubDate>Fri, 07 Apr 2006 11:20:22 +0000</pubDate>
			<guid>http://forum.gurock.com/post/82/#p82</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unexpected dataset logger behaviour]]></title>
			<link>http://forum.gurock.com/post/81/#p81</link>
			<description><![CDATA[<p>Hello Gerben,</p><p>thanks for reporting the issue. Sorry for the inconveniences the problem caused to you.</p><p>Unfortunately, we were unable to reproduce the problem. We tried it with the ADO database classes and the behavior was as expected. To find out more about the problem, it would be great if you could tell us which database classes you use (ADO, BDE etc) either via email or here.</p>]]></description>
			<author><![CDATA[null@example.com (tgurock)]]></author>
			<pubDate>Fri, 31 Mar 2006 18:08:46 +0000</pubDate>
			<guid>http://forum.gurock.com/post/81/#p81</guid>
		</item>
		<item>
			<title><![CDATA[Unexpected dataset logger behaviour]]></title>
			<link>http://forum.gurock.com/post/80/#p80</link>
			<description><![CDATA[<p>Hi,</p><p>I would like to direct your attention to some unexpected behaviour of the dataset logger. This behaviour occurs when I try to log an empty dataset. </p><p>Before logging the dataset the &#039;IsEmpty&#039; function returns &#039;True&#039;, after logging it returns &#039;False&#039;. The &#039;Eof&#039; property displays the same behaviour.</p><p>Needles to say that this causes some hard to trace exceptions.</p><p>I was wondering if this fact is already known to you?</p>]]></description>
			<author><![CDATA[null@example.com (Gerben)]]></author>
			<pubDate>Fri, 31 Mar 2006 09:27:23 +0000</pubDate>
			<guid>http://forum.gurock.com/post/80/#p80</guid>
		</item>
	</channel>
</rss>

