Newsgroups: comp.databases
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!ncc!isagate!tony
From: tony@edm.isac.CA (Tony Schiebel)
Subject: Re: ORACLE Problem: Creating Menus with SQL*Forms.
Reply-To: tony@edm.isac.ca (Tony Schiebel)
Organization: ISA Corporation, Edmonton, AB
Distribution: na
Date: Mon, 15 Apr 91 14:05:13 GMT
Message-ID: <1991Apr15.140513.6843@edm.isac.CA>
Keywords: ORACLE, SQL*Forms, Menus...
References: <1991Apr9.175633.16820@murdoch.acc.Virginia.EDU>


>I am trying to use SQL*Forms (v. 2.0.21) to design a front-end menu, which 
>branches out to different forms according to the users' choice.

>I have four choices (essentially four other forms); and I use a POST-CHANGE
>trigger on the menu_choice field to call the forms.  The trigger I use is:

>#exemacro  case  <formname>.<menu_choice> is
>          when '1' then call <form-1>;
>          when '2' then call <form-2>;
>          when '3' then call <form-3>;
>          when '4' then call <form-4>;

Try :      when others then <barf out an error>

>end case;


>The error-message I am getting is:

>ORACLE error occured while trying to perform POST-CHANGE trigger.

Do a show function keys when you get the error.  Hit the key that is
bound to <display error>.  This will give you more info. on the error.

---------
Tony Schiebel            ISA Corp.
tony@edm.isac.ca         Edmonton, Alberta, Canada
-- 
Steve Hole  		         mail: steve@edm.isac.ca
ISA Corp.			 uucp: !{uunet, alberta}!ncc!isagate!steve
Edmonton, Alberta, Canada       phone: (403) 441-4121 
