View Full Version : Watching updateability of a list item in Forms6i
I am getting a list item become NON updateable
after I query the block on a Forms application.
I'd like to find out at what stage (which trigger)
causes it to change its property. How can I watch
that in debugger ? Or any other way ?
Also, how can I view the value of a variable through
the debugger ? I get a multi line error message when
I run
PL/SQL> debug getv('variable_name')
Advice is much appreciated.
Petr.
Hilary Band
04-08-2005, 05:15 AM
"Petr" <ecotaj@gmail.com> wrote in message news:<1112820698.680692.195330@f14g2000cwb.googlegroups.com>... I am getting a list item become NON updateable after I query the block on a Forms application. I'd like to find out at what stage (which trigger) causes it to change its property. How can I watch that in debugger ? Or any other way ? Also, how can I view the value of a variable through the debugger ? I get a multi line error message when I run PL/SQL> debug getv('variable_name') Advice is much appreciated. Petr.
To find out which triggers are firing, go to Tools, Preferences... on
the menu bar in Forms Builder. On the Runtime tab, check the 'Debug
Messages' box then click OK. Now when you run your form you will get
an alert every time a trigger fires that tells you which trigger has
just fired. While doing this, observe when your list item become
non-updateable. You should be able to narrow down which trigger is
causing the problem. Once you have this information, go back to
Tools, Preferences... and turn off the Debug Messages by unchecking
the box (they are incredibly annoying!).
To look at the value of a variable in the Forms Debugger, simply set a
suitable breakpoint. When the debugger comes up, in the middle pane
expand the Stack node, then the appropriate function/procedure node
that you want to look at. This will show you the current values of
the variables in the bit of code. If you want to watch a particular
value, simply step through the code and watch what happens in the
stack.
H
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.