Re: Forms 5: get_block_property and debugging question
Date: Wed, 11 Dec 2002 09:20:03 +0100
Message-ID: <at6sh5$10qioj$1_at_ID-152732.news.dfncis.de>
[Quoted] Hi, Carsten !
Danke für den Tip, das hat mich etwas weiter gebracht ... wir hatten einen
ON-ERROR-Trigger auf Form-Ebene,
[Quoted] um nur noch bestimmte Fehlermeldungen (für die DAUs) durchzulassen - den muß
[Quoted] man zum Debuggen solange auf irgendein Item-Level ziehen,
um die Codes zu sehen ... und jetz kommt auch die Meldung von
get_block_property richtig.
***
For the English speaking readers:
Thank You for the Tip, that leads a little further ... we had an
ON-ERROR-Trigger on Form level,
in order to cut all error messages (for the normal users out there) except a
[Quoted] [Quoted] few - to debug, this trigger must be drawn to an item level
to see the error codes ... and now I see my message from get_block_property
correctly.
[Quoted] Jan=)
"Crypti" <ninjadesign_at_gmx.de> schrieb im Newsbeitrag
news:c5df9e15.0212100703.44475b8e_at_posting.google.com...
> "Jan Gelbrich" <j_gelbrich_at_westfalen-blatt.de> wrote in message
news:<at4j76$107jd5$1_at_ID-152732.news.dfncis.de>...
> > Hello,
> >
> > I want to debug a blocks´ DEFAULT_WHERE by using get_block_property
> > built_in.
> > My problems to do so are commented inside:
> >
> > PROCEDURE pu_where IS
> >
> > v_showme VarChar2(200) := '';
> >
> > BEGIN
> >
> > v_Showme := get_block_property('V_PERSON_SUCHEN',DEFAULT_WHERE);
> > P_MyMessage(v_Showme); --our own function for popping up messages -
> > successfully used a million times ...
> > --does not come up at all ...
> >
> > v_Showme := 'in the case that nothing comes up ...';
> > P_MyMessage(v_Showme);
> > --does not come up either ... only if I delete the above
get_block_property
> >
> > ... a bunch of other tasks, especially block property settings ...
> >
> > v_Showme := 'I´m ready';
> > P_MyMessage(v_Showme);
> > --does not come up either ... only if I delete the above
get_block_property
> >
> > END;
> >
> > ... this is another moment when Forms (5.0) drive me crazy ...
> >
> > Any comments are greatfully appreciated.
> >
> > Jan
> > Scheint so, als ob die get_block_property schief geht. Vielleicht ist > ja der Blockname inkorrekt und das ERROR_LEVEL zu hoch eingestellt? > Wenn die erste Zeile auskommentiert ist, und die P_MyMessage-Funktion > ausgeführt wird, (beispielsweise mit 'LALA'||v_ShowMe) funktioniert > das? > > Tschau, > CarstenReceived on Wed Dec 11 2002 - 09:20:03 CET