Print Page | Close Window

Parsing multiple values in on parameter

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=2106
Printed Date: 03 May 2024 at 2:23pm


Topic: Parsing multiple values in on parameter
Posted By: SuzyQ4021
Subject: Parsing multiple values in on parameter
Date Posted: 22 Jan 2008 at 3:38pm
Help please!  I need an answer right away.
 
I am receiving a string from a C# program that values are seperated by a + sign.  I have a formula that I need to use, but I'm unsure of how to make it recieve multiple values.  The formula is:
If Count ({Command.COMMERCIAL_COUNTER}, {Command.COMMERCIAL_COUNTER}) >1
and {Command.CS_GROUP_EXTERNAL_CODE}= {?ReportCopySplit}
then
{Command.CS_GROUP_EXTERNAL_CODE}={?ReportCopySplit}
Else If
Count ({Command.COMMERCIAL_COUNTER}, {Command.COMMERCIAL_COUNTER}) >1
and {Command.CS_GROUP_EXTERNAL_CODE}<>{?ReportCopySplit} 
then
{Command.CS_GROUP_EXTERNAL_CODE}= "NAT_000" 

How do I make my parameter accept the string?  I have the paramater set to accept multiple values and it is set to a string.  


-------------
Suzy



Print Page | Close Window