|Date: ||Sat, 5 Oct 2002 08:21:45 -0700|
|Reply-To: ||Deborah Testa <dtesta@SEVENOFNINESYSTEMS.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Deborah Testa <dtesta@SEVENOFNINESYSTEMS.COM>|
|Organization: ||MindSpring Enterprises|
|Subject: ||Re: Turning Off Error Conditions in a AF Form Viewer|
The object is a radio box control rather than a push button control, and it
has two items: Save and Cancel. By default, Save is selected. Beneath it
there is a push button control labelled 'Exit" with commandOnClick = 'End'.
I guess what I need to do is have code in the radio box section to do two
things when the user changes the selection from Save ro Cancel: 1) set my
own variable to 'Cancel,' a value that gets passed back to the calling
frame, and 2) execute the cancel command and close everything without the
user having to click on the 'Exit' button. From what you've said below,
that second part should bypass the form viewer errors. What is the syntax
for executing the cancel command in SCL as opposed to having it driven by a
push button control's attribute?
Thanks for your help, as always.
"Richard A. DeVenezia" <firstname.lastname@example.org> wrote in message
> "Deborah Testa" <email@example.com> wrote in message
> > Hello,
> > If a form viewer's model SCL has created an error condition, I would
> > users to be able to click on a cancel button outside the form viewer and
> > exit. Can I use the cancel button's labelled section to turn off all
> > conditions in the form viewer, without knowing the offending column's
> > I can't seem to turn off the error condition without entering data in
> > column. Usually I would turn off an error condition in the model SCL,
> > it doesn't recognize the click on the cancel button because it's outside
> > the form viewer and the model SCL only reacts to events inside the form
> > viewer.
> > Thanks,
> > Deborah
> When you say cancel do you really mean cancel ?
> If you configure the push button to have commandOnClick = 'Cancel', the
> form viewer errors should be ignored and the frame should close.
> If the button has no command or a command such as OK, the errors in the
> form will prevent the frame from closing (what I expect you are
> If the cancel button does not do the cancel command, what is the rational
> Richard A. DeVenezia