<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.info/rss_namespace/">
 <channel>
  <title>Crystal Reports Forum</title>
  <link>http://www.crystalreportsbook.com/forum</link>
  <description>This is an XML content feed of; Crystal Reports Forum : Last 10 Posts</description>
  <pubDate>Thu, 11 Mar 2010 18:28:38 +0000</pubDate>
  <lastBuildDate>Thu, 11 Mar 2010 18:23:28 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 8.04</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>www.crystalreportsbook.com/forum/RSS_topic_feed.asp</WebWizForums:feedURL>
  <item>
   <title>Data Connectivity : Error when want retrive data from Database</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9367&amp;PID=29682#29682</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=7247">angelyin1984</a><br /><strong>Subject:</strong> Error when want retrive data from Database<br /><strong>Posted:</strong> 11 Mar 2010 at 6:23pm<br /><br /><P>Helo everybody.......hope someone can help me in this error...... Thanks.</P><DIV>When i connect this to my crystal report 11, the error shown:</DIV><DIV>&nbsp;</DIV><DIV>Failed to retrive data from the database.</DIV><DIV>Details: 21000:&#091;Microsoft&#093;&#091;ODBC SQL Server Driver&#093;&#091;SQL Server&#093;Subquery returned more than one value. This is not permitted when the subquery follows =, !=, &lt;, &lt;=, &gt;, &gt;= or when subquery is used as an expression.</DIV><DIV>&#091;Database vendor code:512&#093;</DIV><DIV>&nbsp;</DIV><DIV>This is the sql i do, i dono how to correct it.....Please advise...thanks</DIV><DIV>&nbsp;</DIV><DIV>-------------------------------------------------------------------------------------------</DIV><DIV>SELECT&nbsp;&nbsp;&nbsp;&nbsp; TOP 100 PERCENT *,<BR>(SELECT&nbsp;&nbsp;&nbsp;&nbsp; f.&#091;Costing sum 1 (WCS16/KOCSU1)&#093;<BR>&nbsp;FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SELECT&nbsp;&nbsp;&nbsp;&nbsp; &#091;Item number&#093;, &#091;Costing Type&#093;, MAX(CostingDate) AS Maxcostingdate<BR>FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.FT_KJCF_ProdCosting6<BR>WHERE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&#091;Item number&#093; = T1.&#091;Item Number&#093;) AND (CostingDate &lt;= T1.&#091;Accounting Date&#093;) AND Division = T1.&#091;Division&#093;<BR>GROUP BY &#091;Item number&#093;, &#091;Costing type&#093;<BR>HAVING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&#091;Costing type&#093; = '3')) x INNER JOIN<BR>dbo.FT_KJCF_ProdCosting6 f ON f.&#091;Item number&#093; = x.&#091;Item number&#093; AND f.CostingDate = x.Maxcostingdate AND <BR>f.&#091;Costing type&#093; = x.&#091;Costing Type&#093;) AS Material_Cost,<BR>(SELECT&nbsp;&nbsp;&nbsp;&nbsp; f.&#091;Value component B01&#093; + f.&#091;Value component B02&#093; + f.&#091;Value component B03&#093;<BR>FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SELECT&nbsp;&nbsp;&nbsp;&nbsp; &#091;Item number&#093;, &#091;Costing Type&#093;, MAX(CostingDate) AS Maxcostingdate<BR>FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.FT_KJCF_ProdCosting6<BR>WHERE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&#091;Item number&#093; = T1.&#091;Item Number&#093;) AND (CostingDate &lt;= T1.&#091;Accounting Date&#093;) AND Division = T1.&#091;Division&#093;<BR>GROUP BY &#091;Item number&#093;, &#091;Costing type&#093;<BR>HAVING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&#091;Costing type&#093; = '3')) x INNER JOIN<BR>dbo.FT_KJCF_ProdCosting6 f ON f.&#091;Item number&#093; = x.&#091;Item number&#093; AND f.CostingDate = x.Maxcostingdate AND&nbsp;<BR>f.&#091;Costing type&#093; = x.&#091;Costing Type&#093;) AS Labor_Cost,<BR>&nbsp;(SELECT&nbsp;&nbsp;&nbsp;&nbsp; f.&#091;Value component B04&#093; + f.&#091;Value component B05&#093; + f.&#091;Value component B06&#093; + f.&#091;Value component B07&#093; + f.&#091;Value component B08&#093; + f.&#091;Value component B09&#093;<BR>&nbsp;+ f.&#091;Value component B10&#093; + f.&#091;Value component B11&#093; + f.&#091;Value component B12&#093;<BR>FROM&nbsp;&nbsp; (SELECT&nbsp;&nbsp;&nbsp;&nbsp; &#091;Item number&#093;, &#091;Costing Type&#093;, MAX(CostingDate) AS Maxcostingdate<BR>FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.FT_KJCF_ProdCosting6<BR>WHERE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&#091;Item number&#093; = T1.&#091;Item Number&#093;) AND (CostingDate &lt;= T1.&#091;Accounting Date&#093;) AND Division = T1.&#091;Division&#093;<BR>&nbsp;GROUP BY &#091;Item number&#093;, &#091;Costing type&#093;<BR>&nbsp;HAVING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&#091;Costing type&#093; = '3')) x INNER JOIN<BR>&nbsp; dbo.FT_KJCF_ProdCosting6 f ON f.&#091;Item number&#093; = x.&#091;Item number&#093; AND f.CostingDate = x.Maxcostingdate AND <BR>f.&#091;Costing type&#093; = x.&#091;Costing Type&#093;) AS OverHead_Cost<BR>FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.FT_KJCF_GP_Margin T1<BR>ORDER BY Division, &#091;Item number&#093;</DIV><DIV>&nbsp;</DIV><DIV>----------------------------------------------------------------------------------------</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 18:23:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9367&amp;PID=29682#29682</guid>
  </item> 
  <item>
   <title>Technical Questions : Page number repeats</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29681#29681</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=5144">Doug</a><br /><strong>Subject:</strong> Page number repeats<br /><strong>Posted:</strong> 11 Mar 2010 at 4:43pm<br /><br />I found the problem.&nbsp; I will try not to be too confusing with the solution.<DIV>&nbsp;</DIV><DIV>The report has a supressed header that also includes a subreport.&nbsp; The subreport is a conditional suppression, but prints a static report that is 2 pages when it does run.&nbsp; There was&nbsp;a reset page number after the report header (causing page 1 to print on physical page 1 and physical page 2).&nbsp; I just added conditions to the reset to only reset when the subreport prints. </DIV><DIV>&nbsp;</DIV><DIV>Thanks again for your time this afternoon.</DIV>]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 16:43:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29681#29681</guid>
  </item> 
  <item>
   <title>Technical Questions : Cross Tab, missing columns and want extra rows</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=6298&amp;PID=29680#29680</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=9554">Candy5678</a><br /><strong>Subject:</strong> Cross Tab, missing columns and want extra rows<br /><strong>Posted:</strong> 11 Mar 2010 at 4:00pm<br /><br />Hi there, I am new to Crystal.&nbsp;&nbsp;I&nbsp;also have the same&nbsp;problem that i cannot able to display&nbsp;the columns (i.e. months) containing zeros when I&nbsp;am creating crosstab.&nbsp; I tried to link the existing table to a "month table", and&nbsp; display the month variable from the "month table" in the crosstab.&nbsp; It does not&nbsp;work! I'm not sure what you mean by "left join" the variable to the other data source (from your previous reply).&nbsp;Please describe in more detail, thanks.]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 16:00:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=6298&amp;PID=29680#29680</guid>
  </item> 
  <item>
   <title>Technical Questions : Page number repeats</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29679#29679</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=5144">Doug</a><br /><strong>Subject:</strong> Page number repeats<br /><strong>Posted:</strong> 11 Mar 2010 at 3:01pm<br /><br /><P>I appreciate the help.&nbsp; </P>]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 15:01:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29679#29679</guid>
  </item> 
  <item>
   <title>Technical Questions : Page number repeats</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29678#29678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=6162">DBlank</a><br /><strong>Subject:</strong> Page number repeats<br /><strong>Posted:</strong> 11 Mar 2010 at 2:54pm<br /><br />Sorry, I am at a loss. I will sleep on it but if anyone else has an idea please jump in here.]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 14:54:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29678#29678</guid>
  </item> 
  <item>
   <title>Technical Questions : Group percentage error</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9362&amp;PID=29677#29677</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=6162">DBlank</a><br /><strong>Subject:</strong> Group percentage error<br /><strong>Posted:</strong> 11 Mar 2010 at 2:53pm<br /><br />having a hard time teaisng this out so nothing is looking off to me but ...<DIV>A few things that come to mind here.</DIV><DIV>1. When I have a known error I always break my formulas into each piece and display them seperately to make sure I am getting what I expect from each piece first. So does the sum(<a href="mailto:%7b@frmMargin" target="_blank">{@frmMargin</A>}) display the correct amount and then does sum(<a href="mailto:%7b@frmSales" target="_blank">{@frmSales</A>}) display the correct amount?</DIV><DIV>2. I see that one value has 3 decimal places. Could some rounding be causing you problems?</DIV>]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 14:53:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9362&amp;PID=29677#29677</guid>
  </item> 
  <item>
   <title>Technical Questions : Page number repeats</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29676#29676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=5144">Doug</a><br /><strong>Subject:</strong> Page number repeats<br /><strong>Posted:</strong> 11 Mar 2010 at 2:42pm<br /><br />Moving a subreport to a header or footer did not change the result.]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 14:42:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9364&amp;PID=29676#29676</guid>
  </item> 
  <item>
   <title>Technical Questions : Group percentage error</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9362&amp;PID=29675#29675</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=9551">nigel</a><br /><strong>Subject:</strong> Group percentage error<br /><strong>Posted:</strong> 11 Mar 2010 at 2:24pm<br /><br /><DIV>Thanks for the reply,</DIV><DIV>&nbsp;</DIV><DIV>@frmsales is unit sales * unit price, and @frmmargin is @frmsales - total cost. There's nothing between the 'details' and this first grouping, and no duplicates.</DIV>]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 14:24:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9362&amp;PID=29675#29675</guid>
  </item> 
  <item>
   <title>Technical Questions : List numbers between two numeric fields</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9365&amp;PID=29674#29674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=9552">karad</a><br /><strong>Subject:</strong> List numbers between two numeric fields<br /><strong>Posted:</strong> 11 Mar 2010 at 2:07pm<br /><br />Thanks, I was just looking at that post also, similar to what I want to do.]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 14:07:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9365&amp;PID=29674#29674</guid>
  </item> 
  <item>
   <title>Technical Questions : List numbers between two numeric fields</title>
   <link>http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9365&amp;PID=29673#29673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.crystalreportsbook.com/forum/member_profile.asp?PF=6162">DBlank</a><br /><strong>Subject:</strong> List numbers between two numeric fields<br /><strong>Posted:</strong> 11 Mar 2010 at 2:03pm<br /><br />Not my area of comfort but here is a similar post but dealing with dates that might give you help...<DIV><a href="http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9200" target="_blank">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9200</A></DIV><DIV>&nbsp;</DIV><DIV>You will have to get the '4'&nbsp; seperate from the '8 and 9' and you will have to convert&nbsp;them all&nbsp;to text&nbsp;becasue the 8-9 will be in the same text display (same as the&nbsp;example but with dates).</DIV>]]>
   </description>
   <pubDate>Thu, 11 Mar 2010 14:03:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9365&amp;PID=29673#29673</guid>
  </item> 
 </channel>
</rss>