How to create a SelectOneChoice using different Tables in the database
Hi allI have a requirement where I have two tables have been created in the database: -.
Master
Slave
Main table has columns as Id and Name. Are similar to values associated with the columns: -.
ID:-1, 2, 3
Name:-mobile phone, T-Shirts, bags of University
In the table of the slave I have columns like Id and elements. Are similar to values associated with the columns: -.
ID:-1.
Items:-Nokia, Samsung, Motorola
ID:-2
Items:-Adidas, Reebok, Gucci
ID:-3
Items:-Reebok Adidas, VIP,.
I need restore the values of mobile phones (Nokia, Samsung, Motorola), in SelectOneChoice1, t-shirts (Adidas, Reebok, Gucci) values in SelectOneChoice2 and bags of University (Adidas, Reebok, VIP) in SelectOneChoice3.
I have two controls of data with me, it is main table and isn't the slave table but how do you get the different values in each of the SelectOneChioce.
Please suggest. !!
Thank you
chk
http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-Oracle-ADF-11g-update.html
http://www.YouTube.com/watch?v=nXwL2_RP7AQ
http://blogs.Oracle.com/Shay/entry/got_to_love_cascading_lovs_in
Tags: Java
Similar Questions
-
How to create link on report of table on the othere dashboard page
Hello
I created a page of dashboard... we have graphic report... When I'm clicking Chart report, it goes to the page respective dashboard... Please help meHi merago,
This can be achieve with action links. Please refer to http://www.rittmanmead.com/2010/07/obiee-11gr1-action-framework-and-conditions/
Close the thread and give points.
J.
-
Oracle how to multiply two columns of different tables and results
Oracle how to multiply two columns of different tables and get the result in the third column?
I want to multiply all the lines of the quantinty column in the table of quantity with the relevant lines of the table of prices price column and get the result of multiplying in the third column. What should I use procedure trigerr? OR IS IT POSSIBLE HOW TO DO IT PLEASE HELP :D
Edited by: 994229 2013-03-15 12:44/* Formatted on 3/15/2013 3:51:08 PM (QP5 v5.185.11230.41888) */ CREATE TABLE mytable1 AS (SELECT 1 id, 5 VALUE FROM DUAL UNION ALL SELECT 2, 7 FROM DUAL UNION ALL SELECT 3, 8 FROM DUAL); CREATE TABLE mytable2 AS (SELECT 1 id, 4 VALUE FROM DUAL UNION ALL SELECT 2, 12 FROM DUAL UNION ALL SELECT 10, 12 FROM DUAL); SELECT id, mytable1.VALUE, mytable2.VALUE, mytable1.VALUE * mytable2.VALUE product FROM mytable1 FULL OUTER JOIN mytable2 USING (id) ORDER BY id;
ID VALUE VALUE_1 PRODUCT 1 5 4 20 2 7 12 84 3 8 10 12
-
Create one of 2 different tables tables
Hello
How do I create a table of 2 different tables. The source tables have given and I want to include in the new table.
I have try this:
create the table NEW_ONE
Select * from OLD_ONE
Union
Select * from OLD_ONE2;
But it did not work properly :/Perhaps mean you this? Don't know what your join condition is?
create table NEW_ONE as
Select o1.id_oo, o1.name_oo, o2.id_002, o2.name_oo2
of old_one o1, o2 old_one2
where o1.id_oo = o2.id_oo2; -PLEASE CHECK THIS JOIN CONDITION -
original title: only the keyboard
By using only the keyboard, how can I create an email using Outlook Express, have the files of 'paint' in the body of the email, also registered another Web page?
Hi r. Gull,.
You can view using Outlook Express keyboard shortcuts, documented in:
I hope this helps.
-
How to create IT strategy using the BES administrator API
Hi all
Can tell me, how to create IT strategy using the BES administrator API.
Please provide me with the code example.
Thanks in advance.
Kind regards
Sampath
Hi Sebastian,.
The Administration of BlackBerry API does not support the creation of it political. This feature is currently with the development of control and review for a future version of the BlackBerry Web Services for the Administration of the company.
Kind regards
-
How to create screen saver using the java bean
Hi all
can someone knows how to create screen saver using java beans?
Thanks in advance.
SarahIt is a strange requirement, but you can go
A TIME-NEW-FORM-INSTANCE:
DECLARE timer_id Timer; one_minute NUMBER(5) := 60000; BEGIN timer_id := CREATE_TIMER('chnage_color', one_minute, REPEAT); END;
WHEN-TIMER-EXPIRED:
DECLARE RandomR NUMBER(10):=dbms_random.value(1,256); RandomG NUMBER(10):=dbms_random.value(1,256); RandomB NUMBER(10):=dbms_random.value(1,256); BEGIN SET_CANVAS_PROPERTY('CANVAS2',BACKGROUND_COLOR, 'R'||RandomR||'G'||RandomG||'B'||RandomB); END;
-
How to find the same column name in different tables in the same schema
Hello
I find the 'ename' column name in different tables in the same schema.
Thank you
NrHello
Try this query
Select column_name, table_name from user_tab_columns where column_name = 'ENAME ';
Award points and end the debate, if your question is answered or mark if she was...
Kind regards
Lacouture.
-
Insertion of records in two different tables at the same time?
Hello everyone, I have question about inserting records in two different tables at the same time, I'm looking for is by the way a unique id, which is created in the first statement insert to the second insert statement. Example of this problem:
< cfquery name = "addRecords1" datasource = 'test' >
Insert Into Table1 (name, Date, age)
Values (< cfqueryparam cfsqltype = "cf_sql_char" value = "#arguments.) "Name # ' >.
< cfqueryparam cfsqltype = 'cf_sql_date' value = '#arguments. "Date # ' >.
< cfqueryparam cfsqltype = "cf_sql_int" value = "#arguments. Age #"(>); "
Select SCOPE_IDENTITY() as RecID;
< / cfquery >
< cfquery name = "addRecords2" datasource = 'test' >
Insert into Table2(Company,City,Date,ID)
Values (< cfqueryparam cfsqltype = "cf_sql_char" value = "#arguments.Company #" >,)
< cfqueryparam cfsqltype = "cf_sql_char" value = "" #City # ">,"
< cfqueryparam cfsqltype = 'cf_sql_date' value = "" #Date # ">,"
( < cfqueryparam cfsqltype = "cf_sql_int" value = "How to pass RecID to insert in this table?" >).
< / cfquery >
In this example, I'm inserting records in table 1 and creation of IDENTITY SCOPE as RecId. I would like to pass this id and insert it in my table 2. This Id, I'll use in my second table as an identifier. If anyone knows anything about this please let me know. Thank you.
); QueryName - DOT - ColumnName, so it should be:
); HTH,
^_^
-
Generate the DDL to create the table in the database
Hi all
I want to create the new fact and Stadium as being under the statement:
(1) in the designer, access the models > Oracle BI Applications (folder) > (model) Oracle BI Applications > done (sub-model) step, right click on the WC_SAMPLE_FS data store and select duplicate the selection.
2) double-click the new data store, and then rename it. Name and resource name must match the name of the actual table. Alias can be the same or greater value easy to use.
(3) in the sub-tab of the columns, add all columns.
(4) repeat the same steps to create the fact Table by copying the data store WC_SAMPLE_F under the submodel of "facts".
(5) for the fact table, define the type of OLAP to "fact Table.
(6) generate the DDL to create the table in the database.
In step 6, I don't know where and how to generate the DDL to create the database table. Please help me. If you have another tutorial with screenshot, please share with me. Thank you.
Kind regards
Cong
Hi Cong,
Please see section 6.3 DDL generation of scripts in this link:
Working with the Designer of the common Format - 11g Release 1 (11.1.1)
I hope this helps.
Thank you!
Saran.
-
How to start a job using DBMS_SCHEDULER depending on the result of other JOBS
How to start a job using DBMS_SCHEDULER depending on the result of other JOBS
For example I have two jobs A and B of EMPLOYMENT, I would like to start JOB B only when a JOB is complete, is an option like that?
Hello
Yes, you can create a channel with the Scheduler, see the documentation:
Creation and management of channels of employment
http://docs.Oracle.com/CD/E11882_01/server.112/e25494/scheduse.htm#ADMIN10021
-
can I display different tables at the same time?
Hi all
It is probably a newbie question, but is it possible to display different tables at the same time? I use SQL Developer 1.5.5 and I seem to be unable to display several tables at the same time, whenever I chose to open another table, the old table disappears. In other words, the Bulletin Board only switches to your new choice in the table list navigation. Any ideas anyone?
Kind regards
WFMenu item "Tools-> Preferences-> database-> ObjectViewer Parameters"; Make sure that "automatically freeze object viewer Windows" is checked.
HTH.
Hrsg.:.
-
How to start the database using CRS to start the database instance
Dear Experts,
How to start the database using CRS to start the database instance
As a solution: remove the write permission on the/etc/oratab user database to prevent update to arrive.
There is no harmful effects known to CRS / RDBMS operation if this workaround solution is used. This has been discussed in Bug 13028802.
-
can we use different SID at the adcfgclone on dbTier
Hello
I want to know if adcfgclone on dbTier and appsTier can we use different SID at the adcfgclone?
Suppose that my production is PROD and I want to keep the target as a TEST so I use the SID with a different name? or is it necessary to use the same SID as the source environment?
Thank you.
Of course, you can!
You can change the SID, the location of database files, etc..
Kind regards
Bashar
-
How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.
1. define the URL, the Z_URL1 or the Z_URL2 definitions
2. in the change of field button:
If true Condition then
ViewURL (URL. Z_URL1);
On the other
ViewURL (URL. Z_URL2);
End - if
Maybe you are looking for
-
What config preferences would lead the button in the addon to the no fire no?
The context search X Addon does not work in my default profile, Firefox ver 34. Some of these buttons does not fire, but all the other addons and the links are clickable. Yet the addon works in a new profile I created to diagnose the problem. Deactiv
-
Help! Safari cannot connect to the server
I really need help! I tried to forget the network and turning it back on, I have disabled the firewall and remove all extensions of safari. I seems that nothing works. I get the message 'Safari cannot connect to the server' on almost every site excep
-
Problems upgrading to El Capitan in Yosemite.
I have problems trying to update to OS X Yosemite to OS X El Capitan. Whenever I try to update to iTunes, that remains in pause mode. Once I restart the computer I go back to iTunes and the button says RESUME, I click it then invites me to connect, a
-
update plugin page everytime I open firefox. All updates of the plugin are green.
-
How can DVD - rom disabled computer says it has a code 22, I get the dvd - rom to work
My toshiba laptop, I cannot activate dvd - rom. He says I have a 22. code can you tell me how to activate the dvd - rom. thank you...