<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Gurock Software Support Forum - Unexpected dataset logger behaviour]]></title>
	<link rel="self" href="http://forum.gurock.com/feed/atom/topic/31/"/>
	<updated>2006-04-07T22:08:15Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.gurock.com/topic/31/unexpected-dataset-logger-behaviour/</id>
		<entry>
			<title type="html"><![CDATA[Re: Unexpected dataset logger behaviour]]></title>
			<link rel="alternate" href="http://forum.gurock.com/post/83/#p83"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[dgurock]]></name>
				<uri>http://forum.gurock.com/user/2/</uri>
			</author>
			<updated>2006-04-07T22:08:15Z</updated>
			<id>http://forum.gurock.com/post/83/#p83</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Unexpected dataset logger behaviour]]></title>
			<link rel="alternate" href="http://forum.gurock.com/post/82/#p82"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Gerben]]></name>
			</author>
			<updated>2006-04-07T11:20:22Z</updated>
			<id>http://forum.gurock.com/post/82/#p82</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Unexpected dataset logger behaviour]]></title>
			<link rel="alternate" href="http://forum.gurock.com/post/81/#p81"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[tgurock]]></name>
				<uri>http://forum.gurock.com/user/4/</uri>
			</author>
			<updated>2006-03-31T18:08:46Z</updated>
			<id>http://forum.gurock.com/post/81/#p81</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Unexpected dataset logger behaviour]]></title>
			<link rel="alternate" href="http://forum.gurock.com/post/80/#p80"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Gerben]]></name>
			</author>
			<updated>2006-03-31T09:27:23Z</updated>
			<id>http://forum.gurock.com/post/80/#p80</id>
		</entry>
</feed>

