Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WHEN-MOUSE-LEAVE and WHEN-VALIDATE-ITEM on Forms 10g block

Hafed BenteftifaMar 28 2008 — edited Mar 31 2008
Hello,

I am working on upgrading a form (6i to 10g) that has both WHEN-MOUSE-LEAVE and WHEN-VALIDATE-ITEM triggers.

The block is structured as follows:

item A item B item C item D result 1 result 2
====================================

result 1: computed based on item A,B,C,D
result 2: computed based on item A,B,C,D and result1

User can change values in item A,B,C and D. Somehow, the computations were duplicated on each item using WHEN-MOUSE-LEAVE and WHEN-VALIDATE-ITEM triggers at item level.

Question 1: Is moving the computation to a block level WHEN-VALIDATE-ITEM necessary. Requirement is that the user should be able to see the changes on RESULT1 and RESULT2 before saving the form, meaning that as soon as the value in item A, B, C or D changes, user should be able to see the new value of RESULT1, RESULT2.
In addition, this should happen whether the user is working with the mouse or keyboard.

Any pointers ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2008
Added on Mar 28 2008
10 comments
4,636 views