<?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: Datetime To Date Parameter issue... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953634#M1545926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi qcheng,&lt;/P&gt;&lt;P&gt;Many thanks for taking the time out and sending in your solution.&lt;/P&gt;&lt;P&gt;Unfortunately this might not help me. &lt;/P&gt;&lt;P&gt;Correct me if I am wrong, but what your solution seems to be doing is converting the datetime parameter to a date value AFTER it has been entered by the user and after crystal reports sends it to SQL. &lt;/P&gt;&lt;P&gt;Rather what I need is some method to display ONLY A DATE prompt to the user in crystal reports without the time part. Management does not want the user to see the time field at all in crystal reports when entering a date. &lt;/P&gt;&lt;P&gt;Is this possible at all when linking crystal reports to SQL stored procedures with datetime parameter field?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2007 00:47:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-31T00:47:06Z</dc:date>
    <item>
      <title>Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaq-p/3953619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: ram323&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I convert the parameter from Datetime data type to Only Date Parameter so that everytime the parameter prompt window pops-up, the user will only input the Date and not seeing the Time on the parameter prompt window..I am using Crystal Reports XI..and my stored procedure uses DateTime data type....Need Help!!! a step by step procedure will be greatly appreciated.....Thanks much....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 05:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaq-p/3953619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T05:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953620#M1545912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: V361&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create your param as a date only, and add the time in your select formula&lt;/P&gt;&lt;P&gt;{Field.D_Time} in {?date_only} + time(00,00,00) to {?date_only} + time(23,59,59)&lt;/P&gt;&lt;P&gt;This will give you the entire day, between the hours specified, for the Field.D_Time&lt;/P&gt;&lt;P&gt;This should work just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 15:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953620#M1545912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T15:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953621#M1545913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: ram323&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will not work because you already pass the parameter prompt window on your formula...I'm using a datetime parameter on my stored procedure and I need to ONLY see the Date on the parameter prompt window...this is of course...before you see the report....any advise??.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 23:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953621#M1545913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T23:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953622#M1545914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: yangster&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alter your stored procedure to take in a date prompt.  What kind of db are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 05:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953622#M1545914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T05:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953623#M1545915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: qcheng&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Crystal Report XI and data source is MS SQL server. I also had this problem and could not find a solution from Crystal Report side. What I did is to create a scalar-valued function in SQL server to convert the datetime field to Crystal parameter date format. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 12:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953623#M1545915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T12:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953624#M1545916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Archmage&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shouldn't be having this issue as I also have CR11 and work with MS SQL05.  However,I did remember having this issue with an old report several years ago and the solution can be handled on the stored procedure side.&lt;/P&gt;&lt;P&gt;Simple example:&lt;/P&gt;&lt;P&gt;create proc XXXX (@date datetime) as&lt;/P&gt;&lt;P&gt;set @date=cast(convert(varchar, @date,101) as datetime)  --- drop time portion&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select * from Table.A where date=@date &lt;/P&gt;&lt;P&gt;hope that helps. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 20:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953624#M1545916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T20:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953625#M1545917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Qingping, &lt;/P&gt;&lt;P&gt; In response to a query with the above subject, you mentioned that you created a scalar-valued function in SQL Server to convert the datetime field to crystal parameter date.&lt;/P&gt;&lt;P&gt;Can you please clarify how you did this? I am facing the same problem and am begining to believe that this is a Crystal Report limitation since no amount of research gives me a solution. Thanks !&lt;/P&gt;&lt;P&gt;~X&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 00:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953625#M1545917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T00:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953626#M1545918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;amp;#91;Hi Archmage&amp;amp;#93; With respect to your reply, I think it should work perfectly well if we were trying to take care of the case AFTER getting a value from crystal reports and within SQL Server. &lt;/P&gt;&lt;P&gt;But what about in the case where we do not want to show the time part to the user at all thus cutting the problem from the root? &lt;/P&gt;&lt;P&gt;Management here is used to seeing only date parameters being asked from crystal reports not datetime (since prior to this all reports were linked to tables and views where this problem does not arise if we have "user-defined parameter", but since this is a stored procedure, crystal reports HARDCODES the parameters into the reports and refuses the developer from editing it. Its almost like a non editable system defined parameter.)&lt;/P&gt;&lt;P&gt;SQL server has smalldatetime and datetime datatypes. Now both of these come with a time part attached to it. It does not have any date datatype without the time part like crystal reports has. And since the stored procedure paramaters do not allow editing, we are not able to change datetime to date only. Unfortunately this seems to be the basis of the issue coming up.&lt;/P&gt;&lt;P&gt;Below is a good explanation of the problem. I came across this post on one of the other sites while I was looking for an answer to  the same problem. Any help will greatly be appreciated. &amp;amp;#91;I have a report written in CR10 which uses a stored procedure as the datasource. The stored procedure has 3 input parameters, two of which are datetime data types. When the crystal report is run, it prompts the user for the 3 parameters &amp;amp; runs just fine except...For the date parameters, it prompts the user to enter a time as well. In previous versions of Crystal, I never experienced this. Parameters that were datetime data types in the stored procedure were just prompted for the date when the calling crystal report was run.&lt;/P&gt;&lt;P&gt;I attempted to edit the parameters in the report, but the "Value Type" is grayed out (I assume since the parameter is associated with the stored procedure, rather than being a user defined parameter in the report).  These date parameters are used in a BETWEEN statement within the procedure, so if the user just enters a date but accepts the default time, the returned data gets flakey due to the addition of the time value passed by the parameter.&lt;/P&gt;&lt;P&gt; I tried setting a default value for the time, but I have to enter a date along with the time, which the report then uses as the default. The user then has to uncheck the "Pick from defaults" checkbox in order to enter their own date. This is really unwieldly for the end user, especially when they were previously able to just enter a date and not have to be concerned with a time at all.&lt;/P&gt;&lt;P&gt;Does anyone have suggestions on working around this issue? &lt;/P&gt;&lt;P&gt;Thanks in advance...&amp;amp;#93;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 00:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953626#M1545918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T00:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953627#M1545919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: qcheng&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a Crystal Report date format user definited function in SQL 2000 then applied this function to the datetime field to generate a new field called "CrystalDate" in the stored procedure. You might try the following steps:&lt;/P&gt;&lt;P&gt;1) In SQL 2000 Enterprise Manager, right click User Defined Functions and select 'New User Defined Function...'. Copy paste the following code in TEXT editor area and click OK to save it.&lt;/P&gt;&lt;P&gt; ALTER FUNCTION dbo.BO_CrystalDateFormat&lt;/P&gt;&lt;P&gt;(@sqlDatetime datetime)&lt;/P&gt;&lt;P&gt;RETURNS char(10)&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;begin&lt;/P&gt;&lt;P&gt;declare @CrystalDate char(10)&lt;/P&gt;&lt;P&gt;select @CrystalDate = convert(varchar, year(@sqlDatetime))+&lt;/P&gt;&lt;P&gt;case when month(@sqlDatetime)&amp;lt;10 then '-0'+convert(varchar,month(@sqlDatetime))&lt;/P&gt;&lt;P&gt;else '-'+convert(varchar,month(@sqlDatetime)) end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ case when day(@sqlDatetime)&amp;lt;10 then '-0'+convert(varchar,day(@sqlDatetime))&lt;/P&gt;&lt;P&gt;else '-'+convert(varchar,day(@sqlDatetime)) end&lt;/P&gt;&lt;P&gt;return @CrystalDate&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;2) In the stored procedure, apply this function (as other SQL 2000 functions like getdate(), Year() etc) to the datetime field with the parameter to create a new filed and name it.&lt;/P&gt;&lt;P&gt;3) Move the datetime parameter to this new filed. &lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2007 23:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953627#M1545919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-28T23:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953628#M1545920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: V361&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Back to the original question,....   if you use this&lt;/P&gt;&lt;P&gt;{Field.D_Time} in {?date_only} + time(00,00,00) to {?date_only} + time(23,59,59)&lt;/P&gt;&lt;P&gt;you must change the parameter to Date, then it should work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953628#M1545920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T15:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953629#M1545921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: sleahcim&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with V361.  Select "Date" for the Parameter type, and it should not display a DateTime.&lt;/P&gt;&lt;P&gt;Also, you can modify Field formats under File --&amp;gt; Options --&amp;gt; Fields --&amp;gt; DateTime.  Format your DateTime fields to be dates.&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 16:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953629#M1545921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953630#M1545922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Dipesh&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You guys seem to have a handle on dates and could really do with some help.&lt;/P&gt;&lt;P&gt;Hope you don't mind me asking but I'd really appreciate it if you could have a look at the following thread.&lt;/P&gt;&lt;P&gt;&lt;A href="http://technicalsupport.businessobjects.com/cs/forums/post/11892.aspx" target="test_blank"&gt;http://technicalsupport.businessobjects.com/cs/forums/post/11892.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 18:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953630#M1545922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T18:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953631#M1545923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: qcheng&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Dipesh,&lt;/P&gt;&lt;P&gt;You may use the method I mentioned above to add a new field to your LOV. When you create your dynamic paramter with datetime format, take the original datetime field as your value, the new field as description and set option 'Prompt With Description Only' as true. When you were prompted the datetime parameter, you will see the description only. &lt;/P&gt;&lt;P&gt;I think this is what you want.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 22:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953631#M1545923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T22:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953632#M1545924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Dipesh&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not to sure where to set 'Prompt With Description Only' as true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 12:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953632#M1545924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T12:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953633#M1545925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: V361&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dipesh, &lt;/P&gt;&lt;P&gt;set 'Prompt With Description Only' as true &lt;/P&gt;&lt;P&gt;in the parameter area, it should be under the Value Options section.&lt;/P&gt;&lt;P&gt;(This may be CR XI specific)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 14:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953633#M1545925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953634#M1545926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi qcheng,&lt;/P&gt;&lt;P&gt;Many thanks for taking the time out and sending in your solution.&lt;/P&gt;&lt;P&gt;Unfortunately this might not help me. &lt;/P&gt;&lt;P&gt;Correct me if I am wrong, but what your solution seems to be doing is converting the datetime parameter to a date value AFTER it has been entered by the user and after crystal reports sends it to SQL. &lt;/P&gt;&lt;P&gt;Rather what I need is some method to display ONLY A DATE prompt to the user in crystal reports without the time part. Management does not want the user to see the time field at all in crystal reports when entering a date. &lt;/P&gt;&lt;P&gt;Is this possible at all when linking crystal reports to SQL stored procedures with datetime parameter field?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 00:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953634#M1545926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T00:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953635#M1545927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi v361,&lt;/P&gt;&lt;P&gt;Many thanks for your reply. &lt;/P&gt;&lt;P&gt;However, this solution does not work for a crystal report that is linked to a stored procedure that has a datetime parameter. When creating a report, while linking it to a stored procedure from which you can extract data, the report DISABLES the datatype (along with many other properties) of this parameter field. This results in the developer not being able to change it to a date but having to stick with this datetime prompt.&lt;/P&gt;&lt;P&gt;Here is an example for you to try (replace the &amp;lt;table&amp;gt; and &amp;lt;Date&amp;gt; below with your respective values:&lt;/P&gt;&lt;P&gt;ALTER PROCEDURE &amp;amp;#91;dbo&amp;amp;#93;.&amp;amp;#91;sp_TestX&amp;amp;#93; (@param_date smalldatetime)ASBEGINSELECT * FROM &amp;lt;table&amp;gt; WHERE &amp;lt;Date&amp;gt; = @param_dateEND GO&lt;/P&gt;&lt;P&gt;Now create a new report linked to this stored procedure. Crystal Reports will hardcode the @param_date paramete into your report without waiting for you to do it. Try to edit the datatype of this field? I work on Crystal Reports Version 10. Let me know if you are able to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 00:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953635#M1545927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T00:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953636#M1545928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Thanks for your response to my query. &lt;/P&gt;&lt;P&gt;#1 As you can see from my previous post, I cannot select "Date". This has been disables by Crystal Reports. Is there any way to re-enable it?&lt;/P&gt;&lt;P&gt;#2 I tried what you specified. Here are the steps I tried &lt;/P&gt;&lt;P&gt;&amp;amp;#91;To modify Field formats under File --&amp;gt; Options --&amp;gt; Fields --&amp;gt; Date and Time button --&amp;gt; Date and Time tab --&amp;gt; Customize button --&amp;gt; &lt;/P&gt;&lt;P&gt;Set Order = Date --&amp;gt; Select OK to Save.&amp;amp;#93; &lt;/P&gt;&lt;P&gt;Date Time is still displayed in parameter selection than date. &lt;/P&gt;&lt;P&gt;However even if this works, it might not be a feasible solution since I would need to go around to each users desk changing this setting?&lt;/P&gt;&lt;P&gt;Would appreciate any other advice you could send me. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 01:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953636#M1545928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T01:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953637#M1545929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: qcheng&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Esc2Xtc,&lt;/P&gt;&lt;P&gt;I meant that you need to edit your stored procedure using the method I mentioned. The converting the datetime field to a text field for parameter display purpose only should have been complated in SQL server BEFORE your Crystal report linked to the stored procedure. Your parameter field in the stored procedure is the converted text field, rather than the datetime field. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 02:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953637#M1545929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T02:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime To Date Parameter issue...</title>
      <link>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953638#M1545930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post Author: Esc2Xtc&lt;/P&gt;&lt;P&gt;CA Forum: General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Qcheng,&lt;/P&gt;&lt;P&gt;Some queries I was hoping you could answer,&lt;/P&gt;&lt;P&gt;#1. Would your last reply mean that my crystal report will have a string (text) field parameter for date information data entry rather than a datetime type (or date type) field? &lt;/P&gt;&lt;P&gt;#2. Also in your reply with the code snippet, could you give me an example of step 2 and 3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 23:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/datetime-to-date-parameter-issue/qaa-p/3953638#M1545930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T23:15:24Z</dc:date>
    </item>
  </channel>
</rss>

