Solved

BUILD TAB FORMS DYNAMICALLY

Posted on 2009-07-15
4
486 Views
Last Modified: 2013-12-19
I have a question. In a table if the data is stored as 3 tabs, 4 tabs etc

can we create tab forms dynamically based on the data in the database?
0
Comment
Question by:anumoses
  • 2
4 Comments
 
LVL 35

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 450 total points
ID: 24858725
Table data is stored in rows and columns, not "tabs".  Which client tool do you plan to use to create forms: Oracle Forms, Oracle JDeveloper, .Net, or something else?
0
 
LVL 6

Author Comment

by:anumoses
ID: 24858749
Oracle forms 10g.

Yes you are correct. Data will be like no of tabs( 3 tabs, 4 tabs ....etc).

At run time dynamically build the tab forms based on the parameter (3 tabs or 4 tabs)

Is it possible in oracle forms 10g?
0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 450 total points
ID: 24858839
With Oracle Forms10, no you cannot "build" forms dynamically at run time.  You build the forms manually at design time, then compile them and deploy them so they can be run.  At run time, the forms can do some things dynamically, like hiding or displaying various canvases in the form.  I haven't used tabbed forms very much, so I'm not sure if certain tab pages could be hidden dynamically at run time or not.  Form blocks can certainly have their properties changed dynamically at run time.

Remember, the concept of tab pages came long after Oracle Forms was already an established product.  Oracle Forms added support for tab pages a couple versions ago, but a tab page is not a fundamental (or required) element of an Oracle Form, like a block or canvas is.
0
 

Assisted Solution

by:pkunwor
pkunwor earned 50 total points
ID: 24860121
Yes, forms cannot be built dynamically at run time. You can build tab pages at design time and show or hide the tab pages based on your requirements at run time.

You can use SET_TAB_PAGE_PROPERTY to hide or show your tabs.
e.g. SET_TAB_PAGE_PROPERTY(tb_pg_id, visible, property_false);  
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to take different types of Oracle backups using RMAN.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question