<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>Crystal Reports Forum : Tips and Tricks</title>
        <link>https://www.crystalreportsbook.com/forum</link>
        <description>This is an XML content feed of; Crystal Reports Forum : Tips and Tricks : Last 10 Posts</description>
                    <item>
                <title>Dates in SQL command</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21242&amp;PID=74971#74971</link>
                <description>way late, and perhaps this will help someone...
&lt;br /&gt;Use To_Date in the command, that should fix that part.
&lt;br /&gt;
&lt;br /&gt;You also need to link the subreport parameter to the main report value. This is done via the Change SubReport Link...right click the subreport and you should see it.
&lt;br /&gt;
&lt;br /&gt;HTH</description>
                <pubDate>Mon, 21 Sep 2020 11:52:06 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21242&amp;PID=74971#74971</guid>
            </item>
                    <item>
                <title>Crystal Report Runtime vendor support dates.</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22336&amp;PID=73177#73177</link>
                <description>SP 20 is the current release and SP 21 is supposed to be available toward the end of this month.  SAP tries to release them about quarterly.  It used to be that SAP would show the links for downloading a couple of versions prior to the current one, but they&amp;#039;ve added a new download site that no longer has that available.  Just know that if you&amp;#039;re using an older SP, if you run into any issues, SAP will ask you to upgrade to the latest.
&lt;br /&gt;
&lt;br /&gt;The information you&amp;#039;re looking for might be available through here:  https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal&amp;#43;Reports%2C&amp;#43;Developer&amp;#43;for&amp;#43;Visual&amp;#43;Studio&amp;#43;Downloads.  In particular, look at the &amp;#34;Supported Platforms&amp;#34; document.
&lt;br /&gt;
&lt;br /&gt;-Dell</description>
                <pubDate>Fri, 04 Aug 2017 07:51:44 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22336&amp;PID=73177#73177</guid>
            </item>
                    <item>
                <title>Crystal Report Runtime vendor support dates.</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22336&amp;PID=72985#72985</link>
                <description>I would like to know the vendor support dates of Crystal report runtime for visual studio 2015(13.0.17.2096) SP17 . Can anyone please reply?</description>
                <pubDate>Thu, 22 Jun 2017 01:26:35 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22336&amp;PID=72985#72985</guid>
            </item>
                    <item>
                <title>Dates in SQL command</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21242&amp;PID=69012#69012</link>
                <description>&lt;p&gt;Hi, I have a problem and I hope to find a solution...&lt;/p&gt;
&lt;div&gt;I&amp;#039;m working on Crystal Reports 2008 with an Oracle database. In the report is a SQL-command (a complicated union) used. To prevent this command transferring all the data from the server I have &lt;/div&gt;
&lt;div&gt;- moved this logic to a sub-report to be able to use parameters&lt;/div&gt;
&lt;div&gt;- introduced some parameters in main-report to carry on DateTime&lt;/div&gt;
&lt;div&gt;- created corresponding parameters to the sub-report&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I tested this by placing those parameters in the sub-report header, they print just fine.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Now, I&amp;#039;m trying to modify the SQL-command. I have added a where-clause to test the date like this ... WHERE STARTTIME&amp;gt;&amp;#61;{ts &amp;#039;{?PmBeginTime}&amp;#039;} &lt;/div&gt;
&lt;div&gt;The trouble is, when I click OK, the sub-report prompts to give PmBeginTime (it shouldn&amp;#039;t do this?) &lt;/div&gt;
&lt;div&gt;The worst thing here is this: although I have defined in options/fields of the sub-report that the dateTimes and dates must be in ISO-format (yyyy-mm-dd), the prompt does not accept anything but yyyy/mm/dd -format. If I give the dates in this format Oracle database returns an error. In either case, my parameters disappear and the sql command resets to the previous state.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;How should I give those dateTime-parameters to it?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;</description>
                <pubDate>Wed, 31 Dec 2014 00:35:58 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21242&amp;PID=69012#69012</guid>
            </item>
                    <item>
                <title>get the latest date</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20999&amp;PID=67939#67939</link>
                <description>

You need to specify to max on the provider group.&lt;div&gt; &lt;/div&gt;&lt;div&gt;maximum({Command.lastappt},{Command.provider})&lt;/div&gt;</description>
                <pubDate>Mon, 25 Aug 2014 21:55:03 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20999&amp;PID=67939#67939</guid>
            </item>
                    <item>
                <title>get the latest date</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20999&amp;PID=67934#67934</link>
                <description>This is how my data looks:
&lt;br /&gt; 
&lt;br /&gt;635584 8/10/2012 Family Medicine Ba NP 
&lt;br /&gt;635584 4/18/2013 Family Medicine Egan MD 
&lt;br /&gt;635584 3/17/2014 Women&amp;#039;s Health Prenatal Registration 
&lt;br /&gt;635584 6/2/2014 Family Medicine Matathia 
&lt;br /&gt;635584 8/5/2014 Women&amp;#039;s Health Forman CNM 
&lt;br /&gt; 
&lt;br /&gt;I want to only pull the latest appointment which was 8/5/14, I created the formula: 
&lt;br /&gt;maximum({Command.lastappt}) and was able to do just that!
&lt;br /&gt; 
&lt;br /&gt;but I also got the providers too...
&lt;br /&gt; 
&lt;br /&gt;635584 8/5/2014 Family Medicine Ba NP 
&lt;br /&gt;635584 8/5/2014 Family Medicine Egan MD 
&lt;br /&gt;635584 8/5/2014 Women&amp;#039;s Health Prenatal Registration 
&lt;br /&gt;635584 8/5/2014 Family Medicine Matathia 
&lt;br /&gt;635584 8/5/2014 Women&amp;#039;s Health Forman CNM 
&lt;br /&gt; 
&lt;br /&gt;So I went ahead and did this...
&lt;br /&gt;maximum({Command.lastappt}) &amp;amp; &amp;#34; &amp;#34; &amp;amp; {Command.provider}
&lt;br /&gt;and it gave me the same results.
&lt;br /&gt; 
&lt;br /&gt;It works the same way even if I group by Provider. What&amp;#039;s the best approach?
&lt;br /&gt; 
&lt;br /&gt;Thanks in advance!</description>
                <pubDate>Mon, 25 Aug 2014 05:50:36 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20999&amp;PID=67934#67934</guid>
            </item>
                    <item>
                <title>Newbie</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20983&amp;PID=67879#67879</link>
                <description>Normally you have to take it one piece at a time.  Best thing is as you run into issues, ask for help (fyi: The web is a great source of information).

</description>
                <pubDate>Mon, 18 Aug 2014 04:31:50 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20983&amp;PID=67879#67879</guid>
            </item>
                    <item>
                <title>Newbie</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20983&amp;PID=67877#67877</link>
                <description>I am having a fairly difficult time revising someone else&amp;#039;s CR. since I am still new to CR I was hoping someone could offer tips or tricks? Im afraid that because I am new the fix could be right in front of my eyes!
&lt;br /&gt;
&lt;br /&gt;any suggestions/advice welcome
&lt;br /&gt;
&lt;br /&gt;Sincerely, 
&lt;br /&gt;Lost in CR translation </description>
                <pubDate>Fri, 15 Aug 2014 14:06:01 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20983&amp;PID=67877#67877</guid>
            </item>
                    <item>
                <title>How to generate billing invoice</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11129&amp;PID=67497#67497</link>
                <description>hi rajath did you print on thermal printer or normal a4 printer</description>
                <pubDate>Fri, 11 Jul 2014 01:38:18 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11129&amp;PID=67497#67497</guid>
            </item>
                    <item>
                <title>Group Summary formula</title>
                <link>https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=19016&amp;PID=62770#62770</link>
                <description>I know way late...but shared variables or running totals would be the answer.
&lt;br /&gt;
&lt;br /&gt;shared variables come in groups of 3 formulas usually:
&lt;br /&gt;reset (group header)
&lt;br /&gt;shared numbervar s:&amp;#61;0;
&lt;br /&gt;&amp;#34;&amp;#34; //hides the 0 from the formula
&lt;br /&gt;
&lt;br /&gt;increment (details)
&lt;br /&gt;shared numbervar s;
&lt;br /&gt;if {table.field1} &amp;gt; some criteria then
&lt;br /&gt;  s :&amp;#61; s &amp;#43; {table.field2};
&lt;br /&gt;
&lt;br /&gt;&amp;#34;&amp;#34; //hides the output
&lt;br /&gt;
&lt;br /&gt;display (group footer)
&lt;br /&gt;shared numbervar s
&lt;br /&gt;
&lt;br /&gt;I know it is late, but perhaps it will help in the future.
&lt;br /&gt;The locations: group header/footer and detail are just suggestions/most typical locations for these formulas.
&lt;br /&gt;
&lt;br /&gt;</description>
                <pubDate>Thu, 11 Jul 2013 04:23:18 GMT</pubDate>
                <guid isPermaLink="true">https://www.crystalreportsbook.com/forum/forum_posts.asp?TID=19016&amp;PID=62770#62770</guid>
            </item>
            </channel>
</rss>
