DATA Step, Macro, Functions and more

How to close multiple frames in SCL?

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

How to close multiple frames in SCL?

I am developing an application with SAS/AF. The program calls several frames during execution but I want to close some of them  when the user clicks on a button and to come back to an initial frame.


I found how to close the active frame using

call execcmd('end;');

but the other frames remain opened.


does anyone know how to solve this problem?


Thanks in advance.

Daniel


Accepted Solutions
Solution
‎03-05-2014 11:52 AM
Super User
Posts: 10,538

Re: How to close multiple frames in SCL?

Have you tried

call execcmd('framename; end;');

Longshot, but if it works, then you can either loop through a list of the names you need or explicitly code them all to one button.

View solution in original post


All Replies
Solution
‎03-05-2014 11:52 AM
Super User
Posts: 10,538

Re: How to close multiple frames in SCL?

Have you tried

call execcmd('framename; end;');

Longshot, but if it works, then you can either loop through a list of the names you need or explicitly code them all to one button.

New Contributor
Posts: 2

Re: How to close multiple frames in SCL?

That is just what I needed.

Thanks

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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