Solved

Crystal 7 stored procedure pass formula as parameter

Posted on 2004-04-05
1
460 Views
Last Modified: 2008-03-17
Is it possible to pass a formula as the paramter of a stored procedure? I need to do this so the user is prompted for a date parameter instead of a datetime parameter. After the user enters the date in the parameter I want to then create a formula to change the date to a datetime field then pass that value to the stored procedure. In other words, I have a crystal 7 report running against a sql server 2000 database stored procedure that has a parameter of datetime. I don't want the user to be prompted for a datetime, just a date. This was easy to do in crystal 9 using a command but I cant figure out how to do it in crystal 7.  Thanks in advance,
0
Comment
Question by:asmit8
1 Comment
 
LVL 8

Accepted Solution

by:
ksearch earned 500 total points
ID: 10760019
If I remember correctly (I don't have 7 in front of me anymore), you can go into the report options (under file) or preferences and there is a place to have the datetime fields converted to just dates.  This would be a global setting though, and may not be what you are looking for.  

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# Crystal Reports Formula 6 79
C# Crystal Reports 15 79
Crystal  - Shared vairable capture wile printing 1 36
How to Bold a formula within another formula 4 31
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now