×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need the ability to paste in a list of values into a parameter in Crystal XI

Need the ability to paste in a list of values into a parameter in Crystal XI

Need the ability to paste in a list of values into a parameter in Crystal XI

(OP)
Good morning. I have a report where I need the ability to paste in multiple values into a parameter prompt. The values will come from a vertical list in a text file and can range from 1 to hundreds so it would be tedious to have to enter these manually. The values will always be alpha/numeric (no special characters).

Here's an example of the list:

ABC0001
ABC3771
1DK3389
BAS3381

Also, users will be using a Crystal viewer to run this report so utilizing a formula isn't an option as they won't have a full version of Crystal XI.

Thanks for any help with this.

RE: Need the ability to paste in a list of values into a parameter in Crystal XI

Are these values from a database field? Why not just dynamically query that field when you create/edit the parameter field?

Macola Software Veteran and SAP Business One Consultant on Training Wheels

Check out our Macola tools:

www.gainfocus.biz/exceladdin.html

RE: Need the ability to paste in a list of values into a parameter in Crystal XI

(OP)
These values are in a database field but I only want to query the values from my external list (see attached screenshot).

RE: Need the ability to paste in a list of values into a parameter in Crystal XI

(OP)
I found a way to do this. First, you create a parameter but don't make it a multi-value parameter. Second, in your record selection, you add something like this:

totext({Database.Field}) in split ({?Parameter},",")

This allows you to paste a list in the parameter, separated by a comma. Just make sure there are no spaces in the list and that there is no trailing comma at the end of the list.

RE: Need the ability to paste in a list of values into a parameter in Crystal XI

If the field is a character field, which it should be given the data you've shared, you don't need the call to ToText() and calling it could slow down your report.

-dell

Senior Manager, Data & Analytics
Protiviti
www.protiviti.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close