Solved

Crystal 7 stored procedure pass formula as parameter

Posted on 2004-04-05
1
462 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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