Forms Ver2 triggers syntax in Ver3 forms

From: Chris Eastwood <c.eastwood_at_gu.edu.au>
Date: Wed, 10 Jun 1998 23:50:40 GMT
Message-ID: <6ln64p$m5b$1_at_kraken.itc.gu.edu.au>


HiYa

I know that everyone has sooo much love of these, but I have a question about this. My doco on these is a little scant, I think that this is the wrong syntax, but I'm not sure that it was ever allowed. This form was working
(according to the users) and now (with no modifications for years) has
suddenly stopped? I wonder if this syntax was allowed on a previous version of Oracle, but not this one.

My question is ... in the when am I allowed to use:

  when '2' or '12' then

I've quoted from the .inp file to show context:

      DEFINE STEP  

         TEXT = <<<
         #exemacro
              case  :CNTRL.DEET_PROG_TYPE  is
              when  '3' then
                     case  :PG_CNDTR.ATND_TYPE  is
                     when  'F'   then
                                     copy '2'  into :CNTRL.PROV1;
                                        copy '12' into :CNTRL.COND1;
                                        copy '1'  into :CNTRL.PROV2;
                                        copy '6'  into :CNTRL.COND2;
                                        copy '2'  into :CNTRL.PROV3;
                                        copy '12' into :CNTRL.COND3;
                     when  'P'   then
                                        copy '1'  into :CNTRL.PROV1;
                                        copy '6'  into :CNTRL.COND1;
                                        copy '2'  into :CNTRL.PROV2;
                                        copy '12' into :CNTRL.COND2;
                                        copy '1'  into :CNTRL.PROV3;
                                        copy '6'  into :CNTRL.COND3;
                     when   others   then   endtrig  message
             'ERR-0425:  No changes made as student is not Full or Part Time';
                     end    case;
              when  '2' or '12'   then
                     case  :PG_CNDTR.ATND_TYPE  is
                     when  'F'   then
                                    copy '3'  into :CNTRL.PROV1;
                                        copy '18' into :CNTRL.COND1;
                                        copy '2'  into :CNTRL.PROV2;
                                        copy '12' into :CNTRL.COND2;
                                        copy '3'  into :CNTRL.PROV3;
                                        copy '18' into :CNTRL.COND3;
                     when  'P'   then
                                        copy '2'  into :CNTRL.PROV1;
                                        copy '12' into :CNTRL.COND1;
                                        copy '3'  into :CNTRL.PROV2;
                                        copy '18' into :CNTRL.COND2;
                                        copy '12' into :CNTRL.COND3;


Thanks heaps

See Ya
(when bandwidth gets better ;-)

Chris Eastwood

Photographer, Programmer               email    ua.ude.ug.cti_at_doowtsae.c
Motorcyclist and dingbat               WWW   http://chrise.itc.gu.edu.au

************************************************************************
Ohhh ... you work all day, slave over a hot stove all night  yet you *still* have time for sadomasochism ... how do you do it?

A little man hurts me.

<ding>

    Oh Mister Mean ... Oh Mister Mean
    15 Minutes with him and you'll be blue and green     Studded belts and leather whips
    Bondage trousers on his hips
    Wack and punish as you dust with Mister Mean   Ohhhh he whips me around the house in minutes ... lets get cracking ... Received on Thu Jun 11 1998 - 01:50:40 CEST

Original text of this message