Smart Data Display in CSPro with showarray and forcase

CSPro News
Post Reply
khurshid.arshad
Posts: 618
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Smart Data Display in CSPro with showarray and forcase

Post by khurshid.arshad »

Dear Users;

I wanted to share a quick note based on my recent experience working with the SelCase function in CSPro.

By default, when using the SelCase function, the displayed cases usually show either the question number or the item name as the column heading. However, if we want to override the column headings, we can do so by specifying them using string expressions in text_title.

That said, it’s not as straightforward as it might seem. I experimented with a few methods, and eventually found something that worked for me.

I’m sharing this in case it’s helpful to others—and if anyone has a better or more efficient approach, I’d really appreciate it if you could share!

https://youtu.be/MvpTYMbkBfA
TN.png
Best regards.
a.
You do not have the required permissions to view the files attached to this post.
Gregory Martin
Posts: 1946
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Smart Data Display in CSPro with showarray and forcase

Post by Gregory Martin »

This will be helpful for users. One big complaint about the selcase (and show) functions has been that they display value codes, without the option to display value labels. Using an array to store this information has been a nice workaround, though at some point we should figure out how to extend selcase/show to directly support value labels.
khurshid.arshad
Posts: 618
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: Smart Data Display in CSPro with showarray and forcase

Post by khurshid.arshad »

Thanks Gregory;

I hope you are doning well.

a.
Post Reply