Date: Mon, 14 May 2007 10:13:09 -0700
Reply-To: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Subject: Re: Simple user input window example?
Content-Type: text/plain; charset="us-ascii"
SAS A/F is one avenue, there is an alternative
for popup messages and/or building a form to ask
for several fields which you can then act upon.
There are datastep and macro versions of
WINDOW and DISPLAY, %WINDOW and %DISPLAY.
Check our archives, here are few samples:
Hope this is helpful.
Senior Programmer Analyst, IM&R
Russell Investment Group
Global Leaders in Multi-Manager Investing
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Monday, May 14, 2007 9:47 AM
Subject: Simple user input window example?
Let's say I have two datasets ONE and TWO. Both contain a variable
named ENV with multiple levels like NORTH SOUTH EAST and WEST (and NW,
SW, etc). How can I use SAS/AF to create a simple user input window
that would have two drop-down selection lists, one for each dataset,
that would just show all the unique levels of ENV and allow the user to
select one from each dataset. Those selections would then be passed on
to the rest of the code.
Seems like this wouldn't be difficult, but I don't know AF at all and I
can't seem to find a good example to hack from. Can anybody send me a
quick example that might work?
(Using PC-SAS V9.1.3 and Windows XP)
This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean