<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Views: VFP 9 Changed Behavior</title>
	<atom:link href="http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/feed/" rel="self" type="application/rss+xml" />
	<link>http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/</link>
	<description>Shedding some light on topics of software development, Visual FoxPro, saving our planet, paying it forward, and anything else I find important enough to share.</description>
	<lastBuildDate>Sun, 13 Jan 2019 18:50:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: nancyfolsom</title>
		<link>http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/comment-page-1/#comment-798</link>
		<dc:creator>nancyfolsom</dc:creator>
		<pubDate>Mon, 02 Nov 2009 17:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/#comment-798</guid>
		<description>This behavior is what I would expect, and it is correct, IMO, given the problem of underlying, parameterized queries. The problem is extant with requerying local views that are based on local views. One has to loop through each underlying view and requerying in 8.0, also. &lt;br /&gt;&lt;br /&gt;I found this post while looking for a better, smarter solution to the NODATA, but it sounds like it is just as awkward as I&#039;m finding. Or, rather, my data layer isn&#039;t designed entirely correctly. :-\</description>
		<content:encoded><![CDATA[<p>This behavior is what I would expect, and it is correct, IMO, given the problem of underlying, parameterized queries. The problem is extant with requerying local views that are based on local views. One has to loop through each underlying view and requerying in 8.0, also. </p>
<p>I found this post while looking for a better, smarter solution to the NODATA, but it sounds like it is just as awkward as I&#39;m finding. Or, rather, my data layer isn&#39;t designed entirely correctly. :-\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Schummer</title>
		<link>http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/comment-page-1/#comment-799</link>
		<dc:creator>Rick Schummer</dc:creator>
		<pubDate>Tue, 02 Oct 2007 16:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/#comment-799</guid>
		<description>Thanks for passing along this key information Sergey. I see the Fox Team perspective and  understand the reasoning for change. I see definite advantage in the case when developers use the view-on-view technique.&lt;br /&gt;&lt;br /&gt;I just wish it had been documented. Not that I can recall every detail of the documentation, but at least I would have read this once.</description>
		<content:encoded><![CDATA[<p>Thanks for passing along this key information Sergey. I see the Fox Team perspective and  understand the reasoning for change. I see definite advantage in the case when developers use the view-on-view technique.</p>
<p>I just wish it had been documented. Not that I can recall every detail of the documentation, but at least I would have read this once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey</title>
		<link>http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/comment-page-1/#comment-800</link>
		<dc:creator>Sergey</dc:creator>
		<pubDate>Tue, 02 Oct 2007 15:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/2007/10/views-vfp-9-changed-behavior/#comment-800</guid>
		<description>Hi Rick,&lt;br /&gt;&lt;br /&gt;There was heated discussion about  this change in behavior in  VFP 9.0 on UT in thread #1101756. &lt;br /&gt;I quote Aleksey Tsingauz&#039;s (VFP Team) explanation:&lt;br /&gt;&lt;br /&gt;NODATA clause is documented as the fastest method for determining the structure of a SQL view. It is also mentioned that, VFP achieves this goal by not retrieving data from the source. Therefore, avoiding waiting for the source to build a potentially large cursors.&lt;br /&gt;&lt;br /&gt;The old behavior, when VFP was still fetching data for referenced views, was contradicting documentation and the purpose of the NODATA clause. Besides the fetching issue, there was an inconsistent behavior in regard to parameterized views. When NODATA clause was used, one wasn&#039;t prompted for parameters for the view itself, but was prompted for parameters for referenced views (the side-effect of an attempt to fetch data). Therefore, the behavior was considered to be a bug and we&#039;ve decided to make it consistent (i.e. do not prompt for parameters regardless whether they are used in the view itself or in referenced views) and aligned with documentation and the purpose of the NODATA clause.</description>
		<content:encoded><![CDATA[<p>Hi Rick,</p>
<p>There was heated discussion about  this change in behavior in  VFP 9.0 on UT in thread #1101756. <br />I quote Aleksey Tsingauz&#8217;s (VFP Team) explanation:</p>
<p>NODATA clause is documented as the fastest method for determining the structure of a SQL view. It is also mentioned that, VFP achieves this goal by not retrieving data from the source. Therefore, avoiding waiting for the source to build a potentially large cursors.</p>
<p>The old behavior, when VFP was still fetching data for referenced views, was contradicting documentation and the purpose of the NODATA clause. Besides the fetching issue, there was an inconsistent behavior in regard to parameterized views. When NODATA clause was used, one wasn&#8217;t prompted for parameters for the view itself, but was prompted for parameters for referenced views (the side-effect of an attempt to fetch data). Therefore, the behavior was considered to be a bug and we&#8217;ve decided to make it consistent (i.e. do not prompt for parameters regardless whether they are used in the view itself or in referenced views) and aligned with documentation and the purpose of the NODATA clause.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
