Selection of LOV tabular
Hi guys,.My version of the form is Forms [32 bit] Version 10.1.2.0.2
OK, now I should like to inform the problem. I have a tabular presentation where I used LOV to select the different ITEMS. When I select the LOV in 1st row to select the ITEM... then my concern is not to display it in the following line of this LOV ELEMENT on which I have already selected for the 1st. I want to reduce the QUESTION on the fly.
If you have any solution for this problem, please let us know.
Saad says:
Hi guys,.
My version of the form is forms [32 bit] Version 10.1.2.0.2OK, now I should like to inform the problem. I have a tabular presentation where I used LOV to select the different ITEMS. When I select the LOV in 1st row to select the ITEM... then my concern is not to display it in the following line of this LOV ELEMENT on which I have already selected for the 1st. I want to reduce the QUESTION on the fly.
If you have any solution for this problem, please let us know.
Hello Olivier,.
Issue Commit_form; When trigger of New-Record_instance of the tablur form. Then in your record of the LOV group use not as example below
SELECT ITEN_NAME
FROM ITEM_TABLE
WHERE ITEN_ID NOT IN (SELECT THIS_TABLE_ITEM_ID
FROM THIS TABLE)
Hope this helps
Hamid
If someone answer is useful or appropriate, please mark accordingly. *
Tags: Oracle Development
Similar Questions
-
Hide/region condition based on a LOV tabular
Hi guys,.
I have a tabular presentation that has an LOV. If the vaule that the user wants to select is not in this list, I want them to be able to create from a region within the same page.
I have a value ' * value not listed * "within the LOV which the user can choose to create the record they need in the table that controls the LOV.
I have a region (create an RESP) that allows the user to create the record they need.
What I want to do is to display the box 'Create an RESP' when the user selects ' * value not listed *' in the LOV.
I tried to assign an id (id = 'RESP') to the field LOV and then by creating a dynamic action to show/hide the region 'Create an RESP' with the equal #Resp < b > < /b > < b > selection type < /b > "jQuery Selector" ' * value not listed *'
I couldn't get this to work for the moment.
If someone can advise regarding how do I show/hide a region according to what is selected in a tabular presentation, LOV it would be great.
Hope it makes sense.
ChrisHello
I created a simple demo in my workspace:
check the: http://apex.oracle.com/pls/apex/f?p=29601:7
Login: demo
Pass: demoYou will find a way how you can show/hide area when you choose the "unlisted value: ' column select list of Ename.
First of all, I put the ename attribute column: element attribute: class = "test_lov".
Dynamic measurements
SEE THE DA
Event: change
Selection type: Jquery selector
JQuery selector: .test_lov
Condition: Expression Javascript
Value: $(this.triggeringElement) .val () == "HIDE
Event: change
Selection type: Jquery selector
JQuery selector: .test_lov
Condition: Expression Javascript
Value: $(this.triggeringElement) .val ()! = ''Concerning
J :D
Published by: jozef_SVK on 10.2.2012 05:11
-
Hi all
How can I use a pop lov based on another table instead of the id fk in tabular form?
for example if I have a tabular presentation for the address I would use a list of States (California, arizona, montana,...) rather directly insert identification number.
Thank you all.Hello
Click the report alongside your form link in the application builder. Click on the link next to the CF, this should get you to column attributes. Get down elements of tabular form, and then select popup lov based on query. Enter your query.
See you soon
Ben
-
Look for the lines selected on a tabular presentation
Hello guys and girls,
I have a small problem trying to understand if/how I can check by pressing the "submit" button if there where no records selected in my tabular presentation.
To explain better: I have a selection list in which the user select an employee. On this choice, a tabular presentation appears with the own products for this employee.
The user must check at least one of the lines to go further.
If the user does not select all and always press the "submit" button you should see an error message saying: "there are no selected product."
What I was doing until now (stupid I suppose) was to create a Boolean as validation:
DECLARE
vRow directory;
BEGIN
BECAUSE me in 1... apex_application.g_f01. COUNTY
LOOP
vRow: = apex_application.g_f01 (i);
If vRow is NULL then
Returns false;
on the other
Returns true;
end if;
END LOOP;
END;
But does not work. If I have no active records it will say nothing and let me go. If I check something even record.
Help, please.
There must be something that I have no idea about.
Thank you very much.
Gabriel
Checkboxes only support values for the lines. For example, a loop on the table will always return true since vRow will never be NULL. In addition, a table with a number equal = 0 will not be locked during all, again don't generate no errors.
No loop, just check apex_application.g_f01. COUNTY. If it is 0, no checkboxes have been verified.
-
Display data in Table a selection of LOV
Hi all
I have a scenario in which the JSF pages contains a LOV and table of the ADF.
My requirement is to display the rows in the table based on the value selected in LOV.
The table and the LOV were built out of same data control.
I use Jdeveloper - 11.1.2.4.39.64.36.1 version.
Tips gently on the way forward.
Best regards
Ankit Gupta
Check out my blog http://tompeez.wordpress.com/2012/04/18/jdeveloper-adf-multiple-cascading-tables/
Timo
-
Selection list cascading tabular
Hello
I have build a tabular presentation on apex_collection.
In it, I have a first column using APEX_ITEM. SELECT_LIST_FROM_QUERY as a selection list.
I want that the elements of the list of dependent selection on the other.
Lets say there are 3 values has the LOV: VAL1, VAL2, VAL3.
In the first line of the presentation table if I chose VAL1, then in the second list of line selection should
Show VAL2, VAL3. Once again in the second row if I chose VAL3, then in the third row it should show VAL2.
Of course, the first list of line selection should show the full list that returns the LOV query.
Kind regards
KiranCheck here
-
Report master-detail or list popup selection on LOV
Master/detail report
Using Popup LOV of a column in DETAIL. Why the RETURN_VAUE displays rather than the DISPLAY_VALUE? I need to display ITEMNO. It sounds like a problem with a tabular presentation?
LOV is
Tableselect ITEMNO display_value, ITEM_ID return_value from SH_ITEM ORDER BY 1
Is actually long version that I really want*SH_ITEM* ITEM_ID ITEMNO ITEM_DESC
Published by: userRRRYB on July 2, 2010 07:06select ITEMNO || ' - ' || ITEM_DESC display_value, ITEM_ID return_value from SH_ITEM ORDER BY 1
Hi Alexandra,.
In APEX 4.0, Popup LOV key support has been added to the built-in tabular feature (named for and based query LOVs), so now you can view the DISPLAY_VALUE according to needs. LOV Popup displays only the RETURN_VALUE, as you said, so it will not be your needs, but the new Popup LOV key should do the trick for you. If you change the attributes of a column in a table, update the column in question to the value of the point of his ' display as ' Popup LOV key (named LOV) or Popup LOV (query based LOV) key.
Kind regards
Hilary -
How to use Multiple Select in for tabular
Hello
I use a tabular form to update data .i want to use Select Multiple tabular.
How can I do it...
Thank you
Maury
Published by: Ed on December 27, 2009 23:47Hello
Go to declare attributes-> element in the form of--> the list of selection based on query replace
Specify the query in the lov box
-
I've referenced the example here to display the LOV in groups.
Question is, how to link it to an attribute in my VO so that it selects the value that I have in my VO. And how I use it to update the VO attribute when registering.
With the help of JDev 11 g.
Thank you.
Somewhere in your pageDef, you probably attribute definition where you fix LOV, in the form of:
(if you do not have the case, add a)
Then, for your af:selectOneChoice, just give the value property, which designates the attribute in pageDef, value = "#{bindings." SomeId.inputValue}'
-
How to disable the popup LOV (query based LOV) tabular
Hello
I need help. I need to make a line in a table form the read-only AND disable the Popup LOV (LOV based query). As you can see in the code below all rows with a value of "AUD" becomes read-only. Column 5 is a Popup LOV (query based LOV), and must have become read only AND disabled also. Currently, the code performs the lines = "AUD" read-only, but the user can still click on the Popup LOV this line and select a value from the list, then updates the row.
All solutions?
function makeRowReadOnly() {}
{$('select[name="f06"]').each (function ()}
var row_val = $(this) .val ();
ROW_ID var = $(this).attr('id').substr (4);
If (row_val is "AUD")
{
$("#f02_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f03_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f04_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f05_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f06_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f07_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
}
else {}
$("#f02_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f03_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f04_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f05_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f06_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f07_"+row_id) .attr ("readonly", false).removeClass('row_item_disabled');
}
});
}Hi dekoke_i,
I tried this on my local instance of APEX 4.2:
function makeRowReadOnly() { $('select[name="f06"]').each(function() { var row_val = $(this).val(); var row_id = $(this).attr('id').substr(4); if (row_val == 'AUD ') { $("#f02_" + row_id).attr("readonly", true).addClass('row_item_disabled'); $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled'); $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled'); $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled'); //make the popup-lov button readonly $('#f05_' + row_id).closest('tr').find('td span.lov a').addClass('row_item_disabled').unbind('click'); $("#f06_" + row_id).attr("readonly", true).addClass('row_item_disabled'); $("#f07_" + row_id).attr("readonly", true).addClass('row_item_disabled'); } else { $("#f02_"+row_id).attr("readonly", false).removeClass('row_item_disabled'); $("#f03_"+row_id).attr("readonly", false).removeClass('row_item_disabled'); $("#f04_"+row_id).attr("readonly", false).removeClass('row_item_disabled'); $("#f05_"+row_id).attr("readonly", false).removeClass('row_item_disabled'); //enable the popup-lov button $("#f05_"+row_id).closest('tr').find('td span.lov a').removeClass('row_item_disabled').bind('click'); $("#f06_"+row_id).attr("readonly", false).removeClass('row_item_disabled'); $("#f07_"+row_id).attr("readonly",false).removeClass('row_item_disabled'); } }
I hope this helps!
Kind regards
Kiran
-
Handling cascading LOV (multi-Select parantes LOV)
Hello
I use LOV cascade.
P1_PARENT - Parent LOV (i.e. multiple selection)
P1_CHILD - child LOV
LOV Parent being multiple selection, so it will have the following values... P1_PARENT = AA:BB:CC
and where clause in the LOV cascading should be like
-How to convert the element value for P1_PARENT of AA:BB:CC to "AA", "BB", "CC"where col1 in (:P1_PARENT)
- Is there an another way manage in cascade LOV (to select several parent LOV).
Select the list of P1_CHILD
Thank youselect d, r from test where col1 = :P1_PARENT where col1 in (:P1_PARENT)
DeepakHi Deepak,
In where clause for the LOV child, you can use instr function as:
(instr(':'||:P1_PARENT||':',':'||col1||':',1) > 0 )
To access the individual elements in the multiple selection: P1_PARENT, you can use:
DECLARE l_selected HTMLDB_APPLICATION_GLOBAL.VC_ARR2; BEGIN l_selected := HTMLDB_UTIL.STRING_TO_TABLE(:P1_PARENT); FOR i IN 1..l_selected.count LOOP // your code here...access individual elements using l_selected(i) END LOOP; END;
Thank you
Rohit -
Loading list select cascade lov
I have three selection list each with a parent lov cascade, except the first.
1 - TOOL
2 - CATEGORY
2. - IN SUBCATEGORY
Of these 3 elements of selection list... what I save is the "return value" of the subcategory, which is an identifier. If the problem appears when I try to change the information after I save it. I tried to extract the information in the "source type" box with an "sql return value" as well as the sector 'default value', but he did show errors when I want to create a new record... So I wonder if I can bring data with javascript or otherwise... Thank you
Best regards, bernardoHello Bernardo.
the problem on your page 3 is that P3_CATEGORY is not automatically by a column of data. That's why when you view an existing record he won't show anything. And because the value is NULL, your 3rd LOV (P3_CATEGORY_ID) won't find something because P3_CATEGORY is null or an invalid value.
You have two options:
(1) add the CATEGORY in the database column to your table of PROBLEMS or
(2) use a calculation or process to extract the CATEGORY based on your subcategory (P3_CATEGORY_ID) and fill P3_CATEGORY with this value. This calculation/process to trigger after the process of "fetch".See my calculation of example on page 3. In addition I also put P3_TOOL as "Page to go" for P3_CATEGORY_ID LOV, because you always have to specify all the columns that are used in the SQL statement 'Cascading LOV Parent éléments' or 'Page to present '.
Hope that gives you a direction.
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
I use Apex 4.1 on oracle.com
I stayed away from tabular forms, the lack of standard validation.
Now that they have it, I wanted to watch it again.
I have a tabular layout with a search engine. I want to use the highlight feature, that is to say, it selects the field that matches your search.
My field of research is called P37_SEARCH. I changed the form of tables and in a column, I entered & P37_SEARCH. in the box to highlight the words.
When I enter a search, the field is not highlighted. This works for standard reports.
I have to do something else?
See you soon
GusGus C wrote:
Yes, I expected to highlight text fields or the text itself.
Your response, I guess is not in tabular form.Gus
Yes, it only accentuates the textfiedls (means that all fields), I would say to do some custom using javascript styles
Thank you
-
"ORA-01445: cannot select ROWID' v4 tabular.
Hi guys,.
We had major problems since the transition from v2 to v4.
One of the problems I've had is with tabular forms.
I have a complex page with many regions which has always worked well in version 2. One of these regions is a tabular presentation. When loading the page, I get the:
"ORA-01445: cannot select ROWID from where sample, a join without key preserved table view ' error."
The initial request was quite complex, but I've broken down it:
This query runs and allows me to update the base table (xxmel_apex_eco_alterations)
Select
replace. ALTERATION_ID,
replace. ALTERATION_ID ALTERATION_ID_DISPLAY,
replace. ECO,
alt.ORGANIZATION_ID,
replace. ACD_TYPE,
replace. INVENTORY_ITEM_ID,
replace. BEFORE_CHANGE_QTY,
replace. AFTER_CHANGE_QTY,
replace. MODIFY_FLAG,
replace. REVISED_ASSEMBLY_ID,
replace. BILL_SEQUENCE_ID,
alt.COMPONENT_SEQUENCE_ID,
replace. LAST_UPDATE_DATE,
replace. LAST_UPDATE_BY,
alt.COMMENTS,
replace. BOM_IMPLEMENTATION_DATE,
replace. BOM_CHANGE_NOTICE,
replace. ASSEMBLY_NAME,
alt.COMPONENT_NAME,
replace. SELECTION_CRITERIA,
replace. ORACLE_CHANGE_NOTICE,
alt.COMP_CURRENT_COST,
alt.COMP_NEW_COST,
alt.COMP_CURRENT_SC,
alt.COMP_NEW_SC,
alt.COMP_DESCRIPTION,
alt.COMP_CURRENT_UOM,
alt.COMP_NEW_UOM,
alt.COMP_CURRENT_PUR_STATUS,
alt.COMP_NEW_PUR_STATUS
ALT XXMEL_APEX_ECO_ALTERATIONS
where eco =: P2_ECO
But as soon as I try to join another table (I do not update, just view as shown below), I get the error.
Select
replace. ALTERATION_ID,
replace. ALTERATION_ID ALTERATION_ID_DISPLAY,
replace. ECO,
alt.ORGANIZATION_ID,
replace. ACD_TYPE,
replace. INVENTORY_ITEM_ID,
replace. BEFORE_CHANGE_QTY,
replace. AFTER_CHANGE_QTY,
replace. MODIFY_FLAG,
replace. REVISED_ASSEMBLY_ID,
replace. BILL_SEQUENCE_ID,
alt.COMPONENT_SEQUENCE_ID,
replace. LAST_UPDATE_DATE,
replace. LAST_UPDATE_BY,
alt.COMMENTS,
replace. BOM_IMPLEMENTATION_DATE,
replace. BOM_CHANGE_NOTICE,
replace. ASSEMBLY_NAME,
alt.COMPONENT_NAME,
replace. SELECTION_CRITERIA,
replace. ORACLE_CHANGE_NOTICE,
alt.COMP_CURRENT_COST,
alt.COMP_NEW_COST,
alt.COMP_CURRENT_SC,
alt.COMP_NEW_SC,
alt.COMP_DESCRIPTION,
alt.COMP_CURRENT_UOM,
alt.COMP_NEW_UOM,
alt.COMP_CURRENT_PUR_STATUS,
alt.COMP_NEW_PUR_STATUS
msib.segment1
ALT XXMEL_APEX_ECO_ALTERATIONS
mtl_system_items_b msib
where eco =: P2_ECO
and msib.organization_id = 26
and msib.inventory_item_id = ALT INVENTORY_ITEM_ID
I read where someone had a similar problem for me, but their solution (by copying the script to create a new page) isn't really an option for us the complexity to the page as a whole.
Is this a bug in 4 APEX?
Any help would be great,
Thank you
ChrisHello
This isn't a bug in the apex, if you want to display a different table column there is a way to create a function to get the value of this table
to "msib.segment1", you must create a function that accepts that some primary key to and retrieves the value of 'mtl_system_items_b' and can return a value in the field "segment1".
and you can use your previous query, you can add the name of function as a new field
for example
Select
replace. ALTERATION_ID,
replace. ALTERATION_ID ALTERATION_ID_DISPLAY,
replace. ECO,
alt.ORGANIZATION_ID,
replace. ACD_TYPE,
replace. INVENTORY_ITEM_ID,
replace. BEFORE_CHANGE_QTY,
replace. AFTER_CHANGE_QTY,
replace. MODIFY_FLAG,
replace. REVISED_ASSEMBLY_ID,
replace. BILL_SEQUENCE_ID,
alt.COMPONENT_SEQUENCE_ID,
replace. LAST_UPDATE_DATE,
replace. LAST_UPDATE_BY,
alt.COMMENTS,
replace. BOM_IMPLEMENTATION_DATE,
replace. BOM_CHANGE_NOTICE,
replace. ASSEMBLY_NAME,
alt.COMPONENT_NAME,
replace. SELECTION_CRITERIA,
replace. ORACLE_CHANGE_NOTICE,
alt.COMP_CURRENT_COST,
alt.COMP_NEW_COST,
alt.COMP_CURRENT_SC,
alt.COMP_NEW_SC,
alt.COMP_DESCRIPTION,
alt.COMP_CURRENT_UOM,
alt.COMP_NEW_UOM,
alt.COMP_CURRENT_PUR_STATUS,
alt.COMP_NEW_PUR_STATUS,
newfunction (pkId) as segment1
ALT XXMEL_APEX_ECO_ALTERATIONS
where eco =: P2_ECOThank you
Abdou Bosamiya -
How to submit a page to select an LOV?
Hello
I'm looking to create a parameterized report very similar, but even more simple than that in Chapter 3 of the book advanced tutorials.
It would be simpler, because there would be a single LOV in the form region.
That's why I try to get rid of this button in the form this region. In other words, as soon as the user selects a value from the LOV, the page must be sent automatically and data in the report area must reflect the change in setting.
How can I do this?
Thank you very much
GaborPrior to version 4, simply choose the option 'list with submit selection' when you set your LOV.
In version 4, choose 'Select list' and then further down the page under "Settings" choose the option 'send page' the ' page when the changed value.
Maybe you are looking for
-
update version inconsistencies
l was only informed about a new update that l have supported that updated my browser to 36.0.4 and since has been in the area of l decided to check my extensions and plugins were also present, but information to plugins page says that my firefox is n
-
My window of small images that always struck when transferring photos to "MY PICTURES" is no longer automatically appears. Current is by far the simpler, faster and easier photo transfer method and I would like to know how I can get it back please. E
-
Cisco AnyConnect - same as LAN IP address?
I'm trying to see if it can be done... I know that the best practice is to give clients VPN IP address on a different subnet to the interfaces of the SAA, but in my current situation, I need that they have the same addresses to the company LAN. We ha
-
Limit size of external hard drive from HP Pavilion dv6000?
Hello We have a HP Pavilion dv6871us. We are under Windows Vista 32-bit. I have 2 external hard drives that I connect via the USB ports. 1 is 40 GB and reads without problems. The other is 320 GB and is recognised as a mass storage device. Any t
-
Adobe said that after the first days 14 cancellation period of reflection would make me responsible for '50% of the remaining contract obligation '. I can't find another explanation as to what is the obligation of contract. Common sense would make me