I have multiple report pages. I am working on a system that stores a lot of data. Is it possible to have reports that are able to have column edited on two different reports?
i.e. Not all the information may be relevant to the person entering data on the interactive grid. So I would have a condensed version of the report where the would be able to enter the data you are responsible for. But the report would still display the information entered on the condensed report version.
I'd think of a view and its instead of trigger.
Here's an example; see if you can adjust it to interactive grid. It is based on Scott's sample
EMP
andDEPT
tables.First, a view that joins these two tables:
Instead of trigger; it fires when you update the view, but in the background it modifies data in view's underlying tables:
OK, let's test it. Sample data:
Update some values:
Oracle says that 3 rows were updated:
The view looks OK. What about
EMP
andDEPT
tables?Right; data has been changed in these two tables as well.