Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Missing Field for Parameter

Posted on 2011-09-13
4
237 Views
Last Modified: 2012-05-12
Hi there,

It could be just  a very long day but I have created a formula to group records together.  This works out perfectly - all of the data is in the correct areas. But now I would like to use the same formula to as a Parameter but I can't select it from the list of available fields.

I create a new parameter but in the value field I drop down the menu but can't see the field I created to group by.

Sounds so simple but I can't figure our why - any help would be greatly appreciated,

thank you -
cms
0
Comment
Question by:rporter45
4 Comments
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 36535976
Have you tried to refresh your data source ?

Database->Verify Database
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 60 total points
ID: 36536229
I believe parmeters can only get their data from database fields.

I this a regular Crystal parameter or a Command parameter?
Is it static or dynamic?

mlmcc
0
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 65 total points
ID: 36536237
You can't use formulas as the basis for parameters. If you want to use the result of a formula as a parameter value then you need to add the result into the pick list manually (in a static parameter).

If you're going to use a dynamic parameter, then you'd have to build a business view with an LoV or create a SQL Command object that has the  code for the formula inside of it.
0
 

Author Closing Comment

by:rporter45
ID: 36536362
Hi there,

Mlmcc - you are correct!  rhinok your additional information prompted me to create a parameter that allowed the user to select the group names.  I then went into select expert, chose the formula that I used for the grouping and then added the parameter to the criteria.

All works perfectly now,

Thank you -
cms
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Break apart and rearrange field, Crystal Reports 9 74
Crystal Reports Swap Columns 2 66
"A string is required here" error in Formula 7 57
Pull date to Group header 6 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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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