<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Record Selection Formula in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519152#M2699323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked!&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2012 18:42:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-23T18:42:17Z</dc:date>
    <item>
      <title>Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaq-p/7519141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Record Selection Formula is not working or in the Beta or the Release of Crystal. NET 2010 in runtime, at design time the report filtered properly, but at runtime when loading the report provides no filtering. Something like Cab_Albaran.Id_Albaran &lt;SPAN __jive_macro_name="32205"&gt;&lt;/SPAN&gt; = is omitted when launching the report from VB.NET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Crystal for. NET 2008 work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 10:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaq-p/7519141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519142#M2699313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What code are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing either way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rpt.RecordSelectionFormula = @"{Customer.Customer ID} &amp;lt; 60; // report engine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rcd.DataDefController.RecordFilterController.SetFormulaText(@"{Customer.Customer ID} &amp;lt; 60; // RAS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 15:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519142#M2699313</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2010-11-22T15:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519143#M2699314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, the code is in VB.NET and the instruction is Report.DataDefinition.RecordSelectionFormula = "{Cab_Albaran.Id_Albaran} = 32205" and completely ignores what is the same instructions that I am using in VS2005 and VS2008, but from VS2010 with the new crystal reports (Beta or Release) does not work ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be some kind of error in Crystal Reports ..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 10:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519143#M2699314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519144#M2699315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that this is in CR2010, but see if the KBase [1204895  - Selection formula is ignored when using Crystal Reports 2008 and VS .NET 2005|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303334333833393335%7D.do] helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek&lt;/P&gt;&lt;P&gt;Follow us on Twitter &lt;A href="http://twitter.com/SAPCRNetSup" target="test_blank"&gt;http://twitter.com/SAPCRNetSup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 15:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519144#M2699315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519145#M2699316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Is working properly, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 17:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519145#M2699316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T17:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519146#M2699317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you clarify this for us? Did you use the Kbase article or my code to fix the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 18:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519146#M2699317</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2010-11-24T18:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519147#M2699318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I settled with the guidelines of the Kbase article, eliminating the lines of initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 19:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519147#M2699318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T19:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519148#M2699319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to access this KB, can you please help. I get a 404 error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 21:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519148#M2699319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T21:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519149#M2699320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enter the KB number in the search box at the top right corner of this web page. That will return the KB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 21:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519149#M2699320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T21:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519150#M2699321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also having the same issue with Record Selection.  And, I also am unable to access the KB article and receive a 404 error.  Entering the KB number in the search box returns 4 references -- all pointing to forum articles and none pointing to the actual KB article.  Fortunately, one of the forum articles seems to give the secret answer of commenting out two lines in the designer file (viewer.SelectionFormula and viewer.ViewTimeSelectionFormula).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DaveL5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 22:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519150#M2699321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-29T22:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519151#M2699322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a copy of the KB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Symptom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When upgrading a VS .NET application to use Crystal Reports 2008 in Visual Studio .NET 2005, the selection formula (.RecordSelectionFormula) is ignored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Visual Studio .NET 2005, when the Crystal Windows Form Viewer is added to a Windows Form, the auto-generated code adds two lines of code that set the selection formula to an empty string (""). The viewer's SelectionFormula and ViewTimeSelectionFormula are set to "" by default, thus, the application will ignore selection formulas, be it in the report designer or passed to the report at runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resolution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To resolve the issue, follow these steps:&lt;/P&gt;&lt;P&gt;Expand Form1.vb|cs to show Form1.Designer.vb|cs. &lt;/P&gt;&lt;P&gt;Double-click on Form1.Designer.vb|cs to show it's code. &lt;/P&gt;&lt;P&gt;In the InitializeComponent method, you will find code where the CrystalReportViewer1 properties are set. &lt;/P&gt;&lt;P&gt;Comment out or delete the following two lines: &lt;/P&gt;&lt;P&gt;this.crystalReportViewer.SelectionFormula = ""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.crystalReportViewer.ViewTimeSelectionFormula = ""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 14:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519151#M2699322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-30T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Record Selection Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519152#M2699323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked!&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 18:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/record-selection-formula/qaa-p/7519152#M2699323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-23T18:42:17Z</dc:date>
    </item>
  </channel>
</rss>

