General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 27th, 2006, 01:10 PM
naissani naissani is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 naissani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 46 m 42 sec
Reputation Power: 0
Stored procedure & Crystal Report 11.

I have stored procedure with Datetime as a input parameter that stored procedure call in crystal report 11. When I try to run the Crystal report it prompt me to enter yyyy-mm-dd hh:mm:sc, is there any way it prompt me for date only like yyyy-mm-dd only ?

Thanks
NOOR

Reply With Quote
  #2  
Old October 13th, 2006, 01:15 PM
mjadams mjadams is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 2 mjadams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 57 m 48 sec
Reputation Power: 0
Lightbulb web solution

I edited the file C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50 727\crystalreportviewers115 \prompting\js\promptengine_calendar.js. There is a variable DateTimeFormat=true at the top. I set this to false and it still returned the datetime. I ended up commenting the part of the date return function that adds the time. I don't plan on ever returning a datetime from the calendar popup. That worked. It still says enter the datetime format in the prompting text. I will hunt around for that later.

Reply With Quote
  #3  
Old October 13th, 2006, 01:33 PM
mjadams mjadams is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 2 mjadams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 57 m 48 sec
Reputation Power: 0
Also...

Change the client validation for datetime to the same as the date in file C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50 727\crystalreportviewers115\prompting\js\prompteng ine_prompts.js. Otherwise, it asks for the datetime format when you click OK.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > Stored procedure & Crystal Report 11.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway