Page 1 of 1

Smart Data Display in CSPro with showarray and forcase

Posted: July 18th, 2025, 1:39 pm
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.

Re: Smart Data Display in CSPro with showarray and forcase

Posted: July 22nd, 2025, 8:56 am
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.

Re: Smart Data Display in CSPro with showarray and forcase

Posted: July 28th, 2025, 4:26 am
by khurshid.arshad
Thanks Gregory;

I hope you are doning well.

a.