BookmarkSubscribeRSS Feed
Aditi24
Obsidian | Level 7

Hi,

Could anybody please explain the use of "Linked to" command in Frames using SAS 9.3. I want to link two radio box control in such a way that I could select only one radio button of these two radio box controls. Currently, its allowing the selection of more than one radio button if they belong to different radio box controls.(Refer attached image)


Capture.PNG
2 REPLIES 2
Rikard
Fluorite | Level 6

Do you really need to use "linked to"? Can you not apply your own logic in your SCL-code.

 

Something like (untested code): 

if radiobox1.selectedIndex > 0 then radiobox2._gray;
if radiobox2.selectedIndex > 0 then radiobox1._gray;
Aditi24
Obsidian | Level 7

@Rikard: I have already done in my scl code.. was trying to do it in a simpler way.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 769 views
  • 0 likes
  • 2 in conversation