How To Develop A New Form For Oracle
How To Develop A New Form For Oracle
If you created the canvas using the wizard you might want to rename it.
Window properties
Double click on APP_CUSTOM package body. Locate the following section within the
package,
1 if (wnd = '') then
2 app_window.close_first_window;
3 elsif (wnd = '') then
4 --defer relations
5 --close related windows
6 null;
7 elsif (wnd = '') then
8 --defer relations
9 --close related windows
10 null;
11 end if;
Add the name of the window you have created now to this section. It will look like the following,
1 IF (wnd = 'NEW_WINDOW')
2 THEN
3 app_window.close_first_window;
4 ELSIF (wnd = '')
5 THEN
6 --defer relations
7 --close related windows
8 NULL;
9 ELSIF (wnd = '')
10 THEN
11 --defer relations
12 --close related windows
13 NULL;
14 END IF;
As you can see the First Navigation Data Block is set to BLOCKNAME by default. Change
this to the data block we have created, i.e.XX_SUPPLIER_BLACKLIST.
Click on Subclass and the subclass popup window will open. Set the correct class name to it.
Click on OK.
Now notice the arrow on the block. It means that the subclass is set.
When we update the data in the form we get a popup message like the following