The display of a value that is dependent on another value
Hello everyoneI have the following Setup. I have table counties, that has a foreign key CityID then I have table cities that has a StateID, then I have table States that has CountryID and then I table country.
On the page, I have a LOV for counties. Now, I just want to let the user see, the name of the city, the State and the country according to the County, he chose.
How can I do this?
Many loveeeeeeeeeee
Hello
By LOV query, I mean the CountiesVO.
Obviously your LOV is based on a viewObject, you created (VO counties).
In the application of this VO you must make the necessary changes, it's also returns CityName and StateName.
for example, if your query is:
Select county_id, country_name
Counties
It must put in place something like:
Select country_name, city_id, city_name, state_id, county_id, state_name
counties, cities, States
where the... (join the tables by id)
Gabriel.
Tags: Java
Similar Questions
-
How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?
Hi CKWAZTRANSINC,
Open Acrobat Reader DC, navigate to the Edit-> Preferences-> Page Display menu-> set your required Zoom percentage.
Click OK to confirm the change.
Restart the Acrobat Reader DC to test.
Let me know if it solves your problem.
Kind regards
Nicos -
Running query when the display changes of value of box
Hello everyone, I have a little problem. In my form, I have 2 rematch, the first will contain only a display element that is filled with a lov when a user presses a button. The second poster datablock a list of items that should be queried depends on the value of the LOV above. What I thought I could do are on a trigger after change of the displayed element is:
go_block ('block_name');
do_key ('execute_query');
However, I am told that I can't do these in a trigger of change, someone would have suggestions on how to get what I'm looking for. I should maybe create my own trigger somehow or is their most simple way.
Thank you
I have 1 datablock consisting of 1 single view point which is filled when a user presses a button that displays in turn a LOV for the user to select a value of. When the value of the displayed item changes,
Published by: 786733 on August 24, 2010 01:28Hello
Try to use the KEY-LISTVAL trigger in the element where the lov is attached. Something like that...
LIST_VALUES; IF :item_name IS NOT NULL THEN -- Here item_name is where the LOV will return value. GO_BLOCK('block_name'); EXECUTE_QUERY; END IF;
-Clément
-
The display of a value set by a button
I created a button that, based on dynamic Action, performs a PL/SQL and sets the value of an element of the page P3_XXX on a certain string.
How can I get the new value on my page, immediately after pressing the botton? I guess that some sort of refresh is required. But how? I mean, after you push the botton the pl/sql is done, but I do not see the new string comparing in my page P3_XXX page element.
Thanks in advance!
Hello
If I understand your condition.
You have the button and pushing, you must run a pl/sql code and then set a page through dynamic action element value.
Create a dynamic action on button click ==> SELECT Execute pl/sql code and have your code and in the same action below to search page elements to return the section specify the element of your page.
-
How to get the 2013 to stop the display of old callbacks that have expired
Good afternoon
I have a problem with outlook showing constantly reminders that have expired per hours, sometimes days.
This becomes a real disadvantage when they blend in with all new reminders and makes me miss the meeting.
I need to configure outlook 2013 to stop showing me reminders that I missed or that are overdue. They are completely useless and only show reminders for upcoming events.
I already searched the forum and I found that the startup of outlook with outlook.exe /cleanreminders method
I also saw an option to use a macro
I don't want to have to do everytime I open outlook, including run a macro,
I want the old reminders not to appear at any time I open outlook
It seems like it should be an option in a menu somewhere, otherwise it is a very bad design flaw.
Thank you
When you get a reminder, right-click and choose reject it. You should never remind about it again.
-
I see that I can't erase it w / the blue g button and 4 or 5, according to D.MY or M.DY. Is how important it? >
Hello
It depends on how you prefer to enter the date when using date works for example days between dates.
When M.DY is selected, enter September 23, 2014 as 9.232014
When D.MY is selected, it is entered as 23.092014
Kind regards.
-
the display of ssize_t value in table cell
Hello
I want to display a number of type ssize_t in a digital table cell. In the user interface editor, the cell has been set to intptr_t.
Runs the code in debug64 works fine, in debugging I get the error message:
FATAL RUN - TIME ERROR: Invalid argument type: found "int", "__int64" expected.
I have to add: in the user interface editor, I created the table with one row only, I have add as many rows programmatically using InsertTableRows (but the cell types need to be inherited). The error appears when filling out the cell in the last row.
Ideas?
-
Error in the call to a procedure that is packed on another schema with the alias name
Hi all
I call a packaged procedure that has the type as a parameter collection that resides in the remote database by using synonyms.for which I am creating a synonym in my current schema.
Below the package in the remote database:
CREATE or REPLACE PACKAGE test_hlr BODY
AS
PROCEDURE raj_test)
pi_username IN VARCHAR2,
pi_serial_no IN arr_numb, - type of user-defined collection
po_error_code OUT NUMBER
)
AS
BEGIN
BECAUSE me IN pi_serial_no. FIRST... pi_serial_no. LAST
LOOP
INSERT INTO hlr_raj
(user_name, serial_no
)
VALUES (pi_username, pi_serial_no (i)
);
END LOOP;
END;
END;
I'm create synonym of package in my current database and call this package synonymous as shown below
create synonym ram_test for ram_test@dblink
CREATE or REPLACE PACKAGE test_bnr BODY
AS
PROCEDURE ram_test)
pi_username1 IN VARCHAR2,
pi_serial_no1 IN arr_numb, - type of user-defined collection
po_error_code OUT NUMBER
)
AS
BEGIN
test_hlr.raj_test (pi_username = > pi_username1,)
pi_serial_no = > pi_serial_no1,
po_error_code = > po_error_code
);
END;
END;
When compiling above package am getting error below
PLS-00306: wrong number or types of arguments in the call to ' RAJ_TEST
If I remove the collection type and use types of primitive data and then do not get error.
Please give suggestions, about the same.
Kind regards
Sri Ram.There is no need to declare the type arr_numb locally. In fact, two types with exact same statement and namesake are not the same type. Each type has a unique OID. You can specify own OID. Then you can create the types the and remote with same OID. But if the type is the type of PL/SQL it didn't need to. For example. ON remote DB:
create or replace package pkg1 as type arr_numb is table of number; procedure p1( p_numb_arr IN arr_numb, p_sum OUT number ); end; / create or replace package body pkg1 as procedure p1( p_numb_arr IN arr_numb, p_sum OUT number ) is begin for i in 1..p_numb_arr.count loop p_sum := nvl(p_sum,0) + p_numb_arr(i); end loop; end; end; /
Now locally:
set serveroutput on declare v_numb_arr pkg1.arr_numb@sol10; v_sum number; begin v_numb_arr := pkg1.arr_numb@sol10(1,2,3,4,5,6,7,8,9); pkg1.p1@sol10(v_numb_arr,v_sum); dbms_output.put_line(v_sum); end; / 45 PL/SQL procedure successfully completed. SQL>
SY.
-
Satellite Pro M70-113: cannot install Vista graphics driver and lines appears on the display
Hello
I have satellite pro m70-113 with ati x 700 graphics card.
When I installed vista, he installed the default drivers for the x 700 'mobility radeon x 700-microsft Corp.-WDDM '.
I've updated the display drivers for vista, that released by toshiba 2 days back... but the driver is not updated to the latest version, only the catalyst control center is installed when I ran the update of the driver of toshiba.
The problem is that whenever I put my laptop in standby or hibernation and resume... the screen shows thin lines vertical/horizontal... and I can't use the laptop... and I have to still put the system to sleep, just to hope that it is not blocking the screen this time...
This problem is 25% of the time only when resume...
This problem is not resolved by the update driver for toshiba has released a few days back... as is not installs the drivers (I can't even install the drivers with the option "update drivers" of Device Manager and select file driver update from toshiba.) It says windows find new driver, but could not install the driver... Contact the manufacturer...)
This snap shows the problem... : http://img360.imageshack.us/img360/2783/12042007366copyod1.jpg
I updated the driver from an earlier version of catalyst, as it is downloaded from the ati site before that toshiba has released the update... this time it updates some 8. XXX version but the screen problem remains...
Second, this update of the driver leaves me not sleep my system... the process starts for a sleep, but go back to the locked screen without making sleep ever... so I have no choice to get stuck with the default Windows... drivers having only the problem of the screen... and not the problem of sleep...
Anyone here with a solution?
Thank you.
Hello
I have Satellite M70-159 and I noticed the same thing several times. For most Vista works well but I don't remember cases in which the described problem occurs. I was just curious on M70 Vista and have had no time to intensive testing.
Anyway, it will be interesting to know if you have already updated the BIOS to the latest version 5.10. If this is not the case to do this and watch carefully if the problem persists.
-
Try to install the GEFORCE GTX650 in my HP Pavilion p6 - 2413a, I plugged everything in and the fan seems to work but the display does not illuminate.
There is another cable with 2 multi 1 6 end plug but I can't work out where to connect.
I tried to find it on youtube but can't see where he's going to help me please.
Hello
You need a greater power to support a PCI-E power connector 6 pin. Try a Corsair CX500, or CX600. The image below is that of a NVIDIA GTX 650 which shows where to connect the PCI-E 6-pin connector to the graphics card. Most of the HP PC which have a greater power or 460 watt have they support for the PCI-E power connector 6-pin.
-
Displaying an Enum value and the name of the element when the values are not sequential
Hello
I use Enum and controls indictators successfully with shared and modbus variables.
For example:
Name of the element Value
Off: 0
Start 1
On 2
Œuvres enum Setup, I don't need to look for a cheat sheet to convert the name of the element in its value, I see the name of the item in my order/indicator.
My new variables, I'm currently managing look like this:
Name of the element Value
Code 0 x 201
Beginning Code 0 x 202
Code 0 x 001
Any ideas how I can display the value and the name of the element on a façade. (for a control and indicator)
For enumerations, it seems that the item values must go 0,1,2,3,4,5
I found the solution:
http://digital.NI.com/public.nsf/allkb/79BA4505AE8C755E86256FB2000140B0
use a ring of text and deselect the sequential box
-
Possibility to get a popup to display the display value "" and not the "return value".
Version - Application Express 3.2.1.00.11
I have a list of values that exceed 1500 files and am so impossible to use a Select list.
When you use a popup lov after choosing the recording, apex displays the return value (in my case a number). Is it possible to let him use the display value (in my case, a text string).
Concerning
Ben
Benton says:
Version - Application Express 3.2.1.00.11
I have a list of values that exceed 1500 files and am so impossible to use a Select list.
When you use a popup lov after choosing the recording, apex displays the return value (in my case a number). Is it possible to let him use the display value (in my case, a text string).
See limiting the number of values in a LOV
If it comes to a page element, and then change the type of Popup LOV key.
If there is a control in a table, it's another reason to upgrade to a supported version, or the tabular form will need to be converted to be manually generated and processed in order to allow the appropriate control be returned using the
apex_item.popupkey_from_lov
method -
The list of values - return value identical to the display value
I fill a selection list with the names of the members with a lov sql like the following
< tt > select memberName d, r FROM whateverTable < /tt > memberId
The problem is that in the database, the stored value is the Member ID. I really want the real memberName stored in the database instead I want to use this name of Member elsewhere in my application.
When the integrated trigger executes its code
< tt >
if NVL (:old. CONTACT_PERSON,'0') ! = NVL (:new. CONTACT_PERSON,'0'( ) then
Insert into eba_ca_history ()table_name component_rowkey COMPONENT_ID column_name old_value new_value) values
('EVENTS', :new.row_key, :new.event_id, 'EVENT_OWNER',:old. CONTACT_PERSON,:new. CONTACT_PERSON()
end if ;
< /tt >
I get the following text shows on my apps update page-"owner of an event has changed from 457879885611315631565 to 2546454654546546546546..."
I want the value of the actual display to display for an update instead of the return value.
I tried to convert the value to help
But which causes the following error
How can I make sure that the return value of the lov being stored in the database matches the display value for the lov?
Hi Richie,
If I understand your request, simply set your LOV query with the same column like screen and return:
select memberName as display_value, memberName as return_value FROM whateverTable
If this isn't what you're asking, I apologize for the misunderstanding.
Thank you
Erick
-
programmatically set the bind view variable value of object that showed to the query Panel
Hello
I have a case in 11.1.1.7 Jdev, I deploy my application on BPM 11.1.1.7.
I have a VO that three attributes of it was put in a viewcriteria... Let's attribute A1, A2, and A3. the view criteria is any condition "AND".
and then I create a variable binding in the VO named b. my vo also query using this variable B.
in the jspx, I create a query panel based on the viewcriteria. then in the A1, A2, A3 and B query pane shows.
I can reset the Panel request programmatically using this tutorial http://www.jobinesh.com/2011/04/programmatically-resetting-and-search.html
but unfortunately he didn't succeed for A1, A2, A3 because they are in the display criteria, but B can't reset.
I tried to put the value programmatically using queryModel, queryDescriptor, setNamedWhereClauseParam, but this failed and it starts to makes me crazy...
anyone here seen cases like me? and found the workaround? pls throw some light.
Thank you
Have you tried with VariableValueManager? http://www.jobinesh.com/2010/10/how-to-set-bind-variable-values-at.html
Dario
-
Get the display of selection list value
Hello
I use Apex 4.1 and I have a selection list in my page. I know that I can access the value of the element selected by: P1_SelectList, but I would like to know how to access the display value for the selected item.
Thanks in advance,
DSHello
I don't know what are your exact needs. I mean why you need display the selected value?
If you want to access the List select using JS, then the element should be available on the page. If it is already display the value to display for the user.
That's what I wanted, but I am trying to add this script in page 0, I want it, it is available in all applications except page 1 where the select control is there and the "Execute when loading the page" you mentioned article is not available in page 0. Any idea?
Create a dynamic action which will trigger the Page load and who will do the following JS code.
$("div#select-val").html($("#P1_SELECTLIST option:selected").text());
Also create the region HTML DIV on the page 0. And again, the P1_SELECTLIST element must be accessible to all pages, so you can create this article in page 0 as well?
Kind regards
Hari
Maybe you are looking for
-
Something happened... There was a square is displayed with 'date' something... and I tried to remove the screen and all of a sudden the box at the bottom right of my posts don't have playback number and left messages. What can I do to retrieve this n
-
Why share you my phone no inform me?
Recenty I have buy a new phone I 6 s 16 GB some problem on the load but why swap you my telephone without informing me? Because I never agree to Exchange my new phone. Please help me with this. Thank you Abu *. Singapore Hp:+*********** < published b
-
Search for nightly bar works not with StartPage.
I am a user every night that upgrades every day. A few days after the upgrade I ended up having to install a third-party application which unfortunately also installed a few research of Delta and the spam toolbar without me knowing. I've removed all
-
How to remove Exploit.js/mult.dc
I ran safety.love.com on my system and could only partially remove Exploit.js/Mult.DC. What can I use to completely remove the virus/spyware?
-
Sleekbook 6-1040ca controller sm bus drivers
Hello I just put in an ssd in my 6-1040ca sleekbook and now miss me the sm bus controller and universal serial bus drivers. Could someone help me? Thank you Nine