Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

create a record selection formula from multiple values of a parameter

Posted on 2004-08-31
4
Medium Priority
?
591 Views
Last Modified: 2011-10-03
Hi Experts

In Crystal 9 . I am using a parameter where you can add multiple values.
i have to generate a record selection formula in crystal report.

table.fieldname = parameter[i] or table.fieldname = parameter[2]


Something like the code below.

for i=1 to ubound(multipleParam)
(      
      If i=1 Then
            table.fieldname = multipleparam[i]
      Else
            or
            (
                  table.fieldname = multipleparam[i]
            )      

)
0
Comment
Question by:PradeepYadhav
[X]
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
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
bdreed35 earned 750 total points
ID: 11941645
You are going to kick yourself when yo usee how easy this was.

{Table.fieldname} in {?multiparam}

That is all you need instead of the for loop.
0
 
LVL 13

Expert Comment

by:vidru
ID: 11941659
You should just be able to use this as your record selection formula:

{Table.FieldName} In {?MultiValueParameter}

-dave
0
 
LVL 28

Expert Comment

by:bdreed35
ID: 11941707
Dave, I see you found your way over here too!
0
 
LVL 13

Expert Comment

by:vidru
ID: 11943141
Hey Brian...

Yep, there are a lot of familiar handles in here ;)

-dave
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

618 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