×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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

show multiple selections on a parameter in header

show multiple selections on a parameter in header

show multiple selections on a parameter in header

(OP)
I am using cr 2016

I have a parameter and I can select one or more items

I also have the parameter in the header so you can display the selection. This works fine for selecting one item BUT not if I select more than one (data itself is fine its just the display in the header)

Ideally I would like it to show each selection in this format --> select a, select b, select c etc etc

RE: show multiple selections on a parameter in header

What is the datatype of the parameter?

Also, what is the ultimate display? Let’s say the parameter is {?Car}. Are you saying you want to see:

Mazda, Chevrolet, GMC

?? Or what specifically?

-LB

RE: show multiple selections on a parameter in header

(OP)
its string parameter and yes as per your example, I drop the ?Parameter into the header and want to show as you suggest. At moment it just seems to show one value

RE: show multiple selections on a parameter in header

Place this formula in the header:

stringvar x;
numbervar i;
for i := 1 to ubound({?parm}) do(
x := x + {?parm}[i]+", "
);
left(x,len(x)-2)

-LB

RE: show multiple selections on a parameter in header

I just normally do my parameter displays like this:
if {?Parameter}="*"
then "All Parameters"
else join ({?Parameters},",")

if you don't have the wildcard then you could just use
join ({?Parameters},",")

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