Avatar of spsun
spsun asked on

oracle forms 6i tabular form

Hello Experts.
Can you please advise me on this:

I have a tabular form with the following details.when the user clicks on override[row] checkbox
sales north and sales east of the row should become nulls.

I have written the following and it works:

if name_in(:system.trigger_item) = 1 then
      :region.north:= null;
        :region.east:= null;      
      :region.north := get_item_property('region.north',database_value);
      :region.east := get_item_property('region.east',database_value);
end if;

OverrideNorth  Override East
[Column]         EAST

Sales           Sales        Override[row]    
NORTH           EAST
10               12             checkbox
20               14             checkbox
30               16             checkbox
40               18             checkbox
50               20             checkbox

If the user clicks on Override North then all the values in the column North should become Nulls.

Can you please advise me??

Oracle Database

Avatar of undefined
Last Comment

8/22/2022 - Mon

Put the code in the trigger.

Hello Schwertner,
I have put the above code in when checkbox changed in rowoverride  and it works for the row.
when a user doubleclicks on North Override[when-mouse-doubleclick] I want the entire North to be null.Pl advise.does set-item-property does the trick?? I am new to oracle forms..pl advise...

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.