Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass a Parameter value to a formula 1

Status
Not open for further replies.

Alundil

Programmer
Mar 19, 2004
47
US
CR v9 Pro
Oracle datasource

I was just wondering, I want to try and use a distinct parameter value in a formula. Can I do this by simply inserting the parameter reference into the formula in question?

Thank you.
 
Sure, unless the parameter is a range or multi-value type. parameter. In those cases you need to treat it a bit differently (e.g., as an array if multi-value).

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
What about referencing the formula in a running total.

Basically, I have a parameter that performing record selection for Service.

{V_NI_RECORD.SERVICE}={?Service) where service coould be "Neuro" or "Gen", etc. I also have a running total formula that calculates a count on the service field. The running total has a formula inside that I am using for evaluation:
{V_NI_RECORD.SERVICE}="Neuro". So you are saying that I can subsitute that actual value and place the parameter reference there instead?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top