Date: Thu, 24 May 2001 19:44:18 -0400
Reply-To: Kattamuri Sarma <kssarma@WORLDNET.ATT.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kattamuri Sarma <kssarma@WORLDNET.ATT.NET>
Subject: Fw: Re: Newbie AF/SCL question - give focus to output window?
Content-Type: text/plain; charset="iso-8859-1"
----- Original Message -----
From: Kattamuri Sarma <kssarma@worldnet.att.net>
Newsgroups: bit.listserv.sas-l
Sent: Thursday, May 24, 2001 5:26 AM
Subject: Re: Re: Newbie AF/SCL question - give focus to output window?
> Carol:
> There is a good hands-on workshop on AF for version 8.2 at
> http://www.sas.com/usergroups/sugi/sugi26/hands-on/
> It is introductory, but very good.
>
> Kattamuri Sarma
>
>
>
>
> cjs46692 <cjs46692@GLAXOWELLCOME.COM> wrote in message
> news:01c0e37b$8e8c0f00$8e0d55c6@us0100941...
> > I am also new to AF and am having the same difficulty with window
control.
> > I am also using a submit block but I want the graph window to pop up.
I
> > took the first half of the SAS Frames class several years ago and know
> just
> > enough to be frustrated. Unfortunetly, budgets do not allow me to take
any
> > more SAS classes this year. Does anybody know of a good reference or
> > source for AF examples?
> > Thanks!
> > Carol
> >
> > Sterling Price <ssprice@WAL-MART.COM> wrote in article
> >
>
<16E0F6604574D311BFE100902745F0A80568DD03@honts330.homeoffice.wal-mart.com>.
> > .
> > > Thanks for the reply, Rob.
> > >
> > > It does seem strange that the output window isn't opening
automatically
> > > after the submit block, as I thought that was supposed to be the
default
> > > behavior. The program is definitely producing output, because I can
> see
> > > the report when I manually switch to the output window.
> > >
> > > This is a frame application containing a single frame that uses this
> SCL:
> > >
> > > btnShowRpt:
> > >
> > >
> > >
> > > majorrow = cboPrimeRow.SelectedItem;
> > >
> > > minorrow = cboSubRow.SelectedItem;
> > >
> > > majorcol = cboPrimeCol.SelectedItem;
> > >
> > > minorcol = cboSubCol.SelectedItem;
> > >
> > >
> > >
> > > submit;
> > >
> > >
> > >
> > > proc tabulate data = intlmkt.testdata;
> > >
> > > var revdol mgndol;
> > >
> > > class &majorrow &majorcol;
> > >
> > > table &majorrow=' ' all='Grand Total',&majorcol*(sum=' '*revdol
> sum='
> > > '*mgndol)
> > > sum=' '*revdol*all='Total' sum='
> '*mgndol*all='Total'/box='Store';
> > >
> > > label revdol = 'Sum of Rev $'
> > >
> > > mgndol = 'Sum of Mgn $';
> > >
> > >
> > >
> > > endsubmit;
> > >
> > >
> > >
> > > submit continue;
> > >
> > > run;
> > >
> > > endsubmit;
> > >
> > >
> > >
> > > Return;
> > >
> > >
> > >
> > > btnClear:
> > >
> > >
> > >
> > > cboPrimeRow.SelectedItem = '';
> > >
> > > cboSubRow.SelectedItem = '';
> > >
> > > cboPrimeCol.SelectedItem = '';
> > >
> > > cboSubCol.SelectedItem = '';
> > >
> > > Return;
> > >
> > > Thanks,
> > >
> > > Sterling Price
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Rob Rohrbough [SMTP:Rob@Rohrbough-Systems.com]
> > > > Sent: Tuesday, May 22, 2001 4:43 PM
> > > > To: SAS-L List (SAS(r) Discussion); Sterling Price
> > > > Subject: RE: Newbie AF/SCL question - give focus to output
> window?
> > > >
> > > > Sterling,
> > > >
> > > > Tell us more about your application. My AF/Frame applications have
> > always
> > > > gone to the Output window automatically when the submit block was
> > complete
> > > > -
> > > > if there was output generated. This has worked under both 6.12 and
> 8.0
> > > > (TSM1) both under NT4. I don't recall having to do anything special
> to
> > > > make
> > > > the Output window appear. Do you have anything that you might guess
> > some
> > > > of
> > > > us do not have in your code?
> > > >
> > > > Perhaps Program Entries do not work the same way. If you are using
a
> > > > Program Entry, you might consider converting it to Frame. If that
> > isn't
> > > > good, you might examine parameters on the SUBMIT statement.
> > > >
> > > > HTH,
> > > >
> > > > Rob
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Sterling Price [mailto:ssprice@WAL-MART.COM]
> > > > > Sent: Tuesday, May 22, 2001 2:26 PM
> > > > > Subject: Newbie AF/SCL question - give focus to output window?
> > > > >
> > > > >
> > > > > I have a single-window AF application that produces a report via a
> > Proc
> > > > > Print within a submit block. Is there a way to give focus to the
> > output
> > > > > window after the submit block finishes, so that the user sees the
> > report
> > > > > automatically? Right now, the user is returned to the application
> > > > window,
> > > > > and must manually open the output window to see the report. This
> > > > > is for v8
> > > > > TSM01 running on NT4.0.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Sterling Price
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > **********************************************************************
> > > > > This email and any files transmitted with it are confidential
> > > > > and intended solely for the individual or entity to
> > > > > whom they are addressed. If you have received this email
> > > > > in error destroy it immediately.
> > > > >
> > **********************************************************************
> > > > >
> > >
> >
>
>
|