Lov on slot-shaped table
I need to create a lov on a tabular presentation, using the same table as the form and the need to ignore the line where love will be open.How can I read where clause that it ignores the line?
What is the kind of thing you mean?
http://Apex.Oracle.com/pls/OTN/f?p=579:29
This is the code I used:
select
ename,
APEX_ITEM.POPUP_FROM_QUERY(3,job,'SELECT DISTINCT(job), job FROM emp where job !='||nvl(job,99)) test
FROM emp
Shunt
Tags: Database
Similar Questions
-
Dynamic action on slot-shaped table
Hello
can someone please help to create dynamic action in the form of tables.
(1) on page load if the State is 'No' and sysdate is between Nov1st to 30 Nov. User can change the status of and 'Yes' and status Date changed to Nov. 1.
(2) when the user attempts to change the status of 'Yes' to 'No' and sysdate is between Nov1st to Nov 30, then the status Date changed to Nov. 1.
Otherwise if sysdate is between Dec1st to Dec30th then Status Date changes to Dec1st.
Apex. Oracle.com
w/u/p: nani5048/test/test
App: 92603 and page 2
I don't think it's possible with a pure dynamic action
It takes a bit of javascript or jQueryI modified the application, see for yourself
concerning
-
Horizontal scrollbar for slot-shaped table
Hi all
I'm bring Page where are the two regions.
Two regions are side by side.
Second half of the page contains a table that is based on a table that has 80 columns, I use the theme "" Productivity Applications - 26 * ' "
Version of the APEX is 4.2. Problem is Iam not able to scroll horizontally to see all the columns.
Can someone let me know how we can add horizontal scroll bar to a tabular presentation so that I can go through all the columns.
Thank you
Ch.
Change defination report
put
in the header of the region
at the foot of the region
-
While I've used the plugin counter for items on the page successfully, I would use it for tabular forms of tabular/manual form for the same application to ensure consistency in the application.
Since the meter APEX plugin does not work for tabular forms, I tried to reproduce the function using the jQuery plugin. Also, I checked js and css library are included. The page contains an element of the P1_SPINBOX page that uses the meter plugin.
For example, I changed the report as a table to use class = meter:
I added the plugin meter jquery in the property page:apex_item.text(10,C006,0,null,'class="spinbox" style="text-align:right"') as "SAL", apex_item.text(11,C007,0,null,'class="spinbox" style="text-align:right"') as "COMM",
It still does not work. What should I do to get the function of counter for the number of columns in the form of tables?// Create group of settings to initialise spinbutton(s). (Optional) jQuery(document).ready( (function($){ // Initialise INPUT elements as SpinBoxes: (passing options if desired) $("INPUT.spinbox").spinbox; }) (function(){apex.jQuery("#P1_SPINBOX").spinbox({"min":0,"max":100,"step":10});}) );
APEX 4.1
10.1.2 Oracle database
I put an example on the APEX. ORACLE.COM.
Workspace: EDIAZJORGE
Application: Example application (1550)
User: TEST
Password: test
Password:
Robert
http://apexjscss.blogspot.comHi Robert,.
I changed your javascript in the service and the Global Variable declaration in commenting on the counter for P1_SPINBOX.
// Create group of settings to initialise spinbutton(s). (Optional) jQuery(document).ready( (function($){ // Initialise INPUT elements as SpinBoxes: (passing options if desired) $("input.spinbox").spinbox(); }) //(function(){apex.jQuery("#P1_SPINBOX").spinbox({"min":0,"max":100,"step":10});}) );
It seems that counters now work on SAL and COMM columns in tabular form.
Kind regards
Erik-jan -
Problems with slot-shaped table and set the values of column
Hello
I have a problem with a tabular presentation.
I have two tables
P_detail and table v_master
columns of v_master:
v_id
v_Name
v_info
columns of p_detail:
P_ID
p_master_fk
p_name
p_info
I want to have a tabular presentation where I can store permanent data retail values. That's why I want to keep the default main column join the detail columns.
In SQL, I can do this with an outer join:
SELECT m.v_name, d.p_master_fk, d.p_name, d.p_info
OF v_master, p_detail
WHERE v_id = p_master_fk (+)
I get the lines that exist for the master data and can add values for the columns of detail. I removed the "add lines" because that makes no sense, because the amount lines are already offered at the opening of the tabular presentation.
Now, I want to get/save the v_id (main table) in the p_master_fk column value
How can I do this?
Thank you and best regards,
MatthiasHello
One approach is to use a database instead trigger. If you define a database view using the query:
SELECT m.v_id, m.v_name, d.p_id, d.p_master_fk, d.p_name, d.p_info
OF v_master m, p_detail d
WHERE v_id = p_master_fk (+)Then, create a trigger on the view that will insert in the detail table if d.p_id is null and update the secondary table if d.p_id is not null instead.
The Apex tabular form is then based on the view (with identifiers like hidden columns) and all treatments multirow Apex should work without modification.
Rod West
-
Column based on slot-shaped table
Hello everyone,
I have a tabular layout with the SQL as source of the region:
Select
'EMPNO ',.
'EMPNO' EMPNO_DISPLAY,
'ENAME ',.
"JOB."
"SAL."
"COMM"
NVL(SAL,0) + nvl(comm,0) total_sal,
"DEPTNO".
of ' #OWNER # '. " EMP.
When I run the shape first, it happens with all the lines showing total_sal column as well. But when I change the values for the columns sal and comm, the total_sal does not change unless I submit the values. Is there a way to change the value of total_sal before submitting changes to the database?
Thank youdo the column readonly instead of disable.
-
Interactive report features on slot-shaped table
Hello world
I need to have a search function on a report like the interactive report. On the interactive report, you can type a word/number in the search box and this word/number search. Then once the research is completed you can search again for a different word/number, narrowing down search you whenever you enter a new word/number. You can do until you have only one remaining line.
I need this feature in a tabular presentation, but I'm not sure how to write the SQL code.
Is this possible?
Thanks in advance,
N.S.N.O.Hello
OK, I see what you mean... Here's how the IR done so
SELECT * FROM my_table WHERE ((INSTR(UPPER(column1),UPPER(:APXWS_SEARCH_STRING_1)) > 0 OR INSTR(UPPER(column2),UPPER(:APXWS_SEARCH_STRING_1)) > 0 OR INSTR(UPPER(column3),UPPER(:APXWS_SEARCH_STRING_1)) > 0 ) and (INSTR(UPPER(column1),UPPER(:APXWS_SEARCH_STRING_2)) > 0 OR INSTR(UPPER(column1),UPPER(:APXWS_SEARCH_STRING_2)) > 0 OR INSTR(UPPER(column2),UPPER(:APXWS_SEARCH_STRING_2)) > 0 OR INSTR(UPPER(column3),UPPER(:APXWS_SEARCH_STRING_2)) > 0 ))
Is that what you mean?
See you soon
Ben
-
Mr President
If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?
My two fields are FLOW AND DR_NAME
FLOW = ACCT_ID
DR_NAME = ACCT_NAME
I created with success of LOV for these fields.
First LOV gives acct_id in the debit field and second LOV gives the value of acct_name to dr_name.
How can I report these lov, it's that when I change my acct_id then acct_name also change
I have these two tables
CREATE TABLE "NOM" ( "ACCT_ID" VARCHAR2(7) NOT NULL ENABLE, "ACCT_NAME" VARCHAR2(50) NOT NULL ENABLE, "O_BAL" NUMBER(13,2), CONSTRAINT NOM_PK PRIMARY KEY ("ACCT_ID")ENABLE ); CREATE TABLE "VOUCHERDET" ( "V_ID" VARCHAR2(9) NOT NULL ENABLE, "LINEITEM" NUMBER , "DEBIT" VARCHAR2(7) , "DR_NAME" VARCHAR2(50), "CREDIT" VARCHAR2(7) , "CR_NAME" VARCHAR2(50), "PARTICULARS" VARCHAR2(100), "AMOUNT" NUMBER(21,2), CONSTRAINT VOUCHERDET_PK PRIMARY KEY ("V_ID","LINEITEM")ENABLE, CONSTRAINT PUR_SAL_LINE_POD_FK FOREIGN KEY(PROD_ID) REFERENCES PRODUCTS (PROD_ID)ENABLE, CONSTRAINT VOUCHERDET_DEBIT_FK FOREIGN KEY ("DEBIT") REFERENCES "NOM" ("ACCT_ID") ENABLE, CONSTRAINT VOUCHERDET_CREDIT_FK FOREIGN KEY ("CREDIT") REFERENCES "NOM" ("ACCT_ID") ENABLE, CONSTRAINT VOUCHERDET_V_FK FOREIGN KEY ("V_ID") REFERENCES "VOUCHER" ("V_ID") ON DELETE CASCADE ENABLE );
Concerning
so, instead of this second ActId, choose ACCT_NAME:
-
Lovs cascading in a table, see the stored default value
Hi all.
I use 5 APEX.
I need to create a Select list based on another inside a tabular presentation, I have followed this thread: How to make the selection list cascading in the form of? and when I add a new line it works OK, the problem is once I have save changes, if I have access to the tabular presentation page again every row shows 'Selection' - and the value that is stored in the database is not shown by default, the list is built according to the LOV parent for existing lines, but will return to the Mode "selection", that vary according to the initial behavior in the form of tables.
Please help me to show the stored value for the lines already stored.
Thanks in advance, best regards.
Hi all.
The problem is in the definition of the child selection list, I changed the "display additional values" field to YES and now it works perfectly.
Concerning
-
LOV InputComboBoxListOfValues in af:table does not
JDev 11.1.1.4 stack full
Hello
I create a drive LOV model that works correctly in the tester of BC.
When I create the af: Table using a table data source is created and the
lov field is created as an af:InputComboBoxListOfValues.
However the model for the lov property is defined as
#{row.bindings.Countryriskdesignation.listOfValuesModel}
but is highlighted in red, and the column is not rendered when the application is run.
An af:InputComboBoxListOfValues can be used in an af:table if so how?
Concerning
Paul
I have it!
The problem is the attribute on which was placed the lov was read-only
Once I put the editable attribute always everything works as expected, even with the ListOfValuesModel "error".
Thanks for your help.
Concerning
Paul
-
Enter the source id of lov at the advanced table bean
Dear frends,
I'm developing a customized page of the FPÖ. I have a chart of progress in that. lov 2 is there in the advanced table.
I used a code to capture the event lov as shown below
If (PageContext.isLovEvent ()) { String lovInputSourceId = pageContext.getParameter (SOURCE_PARAM); pageContext.writeDiagnostics ("in the process form request source of real input id Lov",":"+ lovInputSourceId, 1 "); If ("OrganizationName". Equals (lovInputSourceId))
{
to do
}
If ("CustomerName".equals (lovInputSourceId))
{
to do
}
}
But I get the id of source with the index as lov
TableRN:OrganizationName:0
TableRN:OrganizationName:2
etc...
How could I capture the source id of lov with respective index in advanced table?
Kind regards
Tarun
Dear Sandeep,
I tried to create dependent lov similar, so I got the answer for this...
https://blogs.Oracle.com/prajkumar/entry/implement_dependent_lov_in_oa
Kind regards
Tarun
-
LOV inside the inner table does not!
Hello
I have a Master Advanced Table and an internal Table (more advanced) retail. (I know it's a performance problem, but..) :()
I have a number of customer LOV in internal table. But when I select a row in the LOV I don't get the value returned to my return of goods. Page popup LOV just stay there without responding to any request post.
I'm on 11.5.10 RUP4.
Thank you
WineIn my view, that this feature is not supported as indicated in the dev guide:
"The inner table does not support LOVs. You must use a different user interface.
-
How to add auto calculation of column-shaped tables?
Hi all
I use Apex5
I have the form master detail
The columns of detail is:
select "ID", "OUT_ID", "ITEM_ID", "ITEM_NAME", "QTY", "PRICE", "ASSETS_ID", "STOCK_BALANCE", "NOTICE" from "#OWNER#"."T_OUT_DTL" where "OUT_ID" = :P9_ID
- I want to add call column 'Total' auto calculate values quantity * price...
- I want 'Total' auto calculation once I set values in quantity & price...
How to make... Help me
Thank you
Hi Amr Abdeen,
AMR Abdeen wrote:
I use Apex5
I have the form master detail
- I want to add call column 'Total' auto calculate values quantity * price...
- I want 'Total' auto calculation once I set values in quantity & price...
Assuming the form of tables after columns:
F06 - Qty
F07 - price
F10 - Total
NOTE: Make sure your respective columns and modify the code below accordingly.
You can do this in two ways:
Solution 1: Using JavaScript
- Change your Page attributes-> "JavaScript"-> "Function and declarations of global variables" section add the following:
//Checks whether the given string is numeric function isNumeric(str) { if (!str.length || !isNaN(str.replace(/\s/,"z")/1)) {return true;} return false; } //Checks whether a field is null or numeric else returns 0 function f_chkNumberFlds(pVal) { var lVal; if ( pVal.length > 0 ) { if (isNumeric(pVal)) { lVal = pVal; } else { lVal = 0; } } else { lVal = 0; } return lVal; } //Calculates the row total function f_calculate_total(pThis) { var total = 0; var row_id = pThis.id.substr(4); var qty = f_chkNumberFlds($('#f06_'+row_id).val()); var price = f_chkNumberFlds($('#f07_'+row_id).val()); if (qty > 0 && price > 0) { total = parseFloat(qty*price); } $('#f10_'+row_id).val(total); }
- Change the quantity and price columns. Go to the column attributes-> 'Attributes of the item' add the following:
onchange="f_calculate_total(this);"
Solution 2: Using a dynamic Action
Reference: calculated as a column
I hope this helps!
Kind regards
Kiran
-
Enable/disable popup LOV image anchors in table form
Hi all
I'm trying to find the solution how to toggle anchor image popup LOV. When I disable the popup element, then only the text field is disabled but the image is still active and opens the LOV. I tried to implement the solutions but to no avail.
I created DA (triggered after updating the necessary region) with the code below which disables the necessary field.
$('td[headers="DEPTNO"] input').each(function(i) { $('td[headers="DEPTNO"] input:text').disabled="disabled";
$($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
}
)Could anyone help me with a code which will also disable the image? Thanks in advance! My testing appl: www.apex.oracle.com *WS:* kurintest *username:* [email protected] *passwd:* kurintest *appl. name:* disable_popup_icon -Jiri
Hello Jiri,
Please see your page:
I changed the dynamic action:
$('td[headers="DEPTNO"] input').each(function(i) { $('td[headers="DEPTNO"] input:text').disabled="disabled";$($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled'); $($('td[headers="DEPTNO"] a')[i]).click(function(e) { e.preventDefault(); });$($('td[headers="DEPTNO"] img')[i]).addClass('apex_disabled');});
Hope it helps! Regards, Kiran
-
How to keep the style of setting shaped tables that you paste IN when copying old pictures?
Hi all
I know that CMD-SHIFT-V works perfectly to keep the text styles you paste IN when you copy another block of text that contains different styles, but how do I do the same thing with a TABLE?
I have paintings from an InDesign document with a set of styles/table cell styles, etc and am copying into another InDesign document where I have tables that have table styles different styles/cell, etc. The only way I can successfully get the information in one table to another is to copy the information from the old table with the old styles and then paste it into an excel worksheet, and then copy the excel worksheet and paste into new tables in the new InDesign document.
Now, wouldn't that be so bad if I didn't have SO MANY hundreds and hundreds of paintings I was working with! I am currently working on a big catalogue and this workflow is slowing down a lot:)
Please note that I have deleted all styles (by removing all styles) tables I am pasting FROM, but chose to keep the formatting.
Once more, I bet that I I will kick myself when I see how the answer is easy!
Any help would be so appreciated!
Thank you kindly,
Christine
Try converting your old text table (column separator: tab; line separator: paragraph). Copy, select the style of lines and columns you want to paste the text in and paste without formatting in your new table. It may not work if your table is very complicated, but it worked for me on a test very simple.
Maybe you are looking for
-
Choose the single chapter or chapters - disk space?
Hi Gang I use iLife 08 - iDVD 08 and responsible for some older models as well. I have a 95 minutes, (burn single face) piece, which looks nice using the 'professional framework. Currently its a long chapter about 95 minutes long. I know I can break
-
Please help with replacing the W700 screen
I'm at the end of my mind here, so I really hope that someone can help you. First of all, some background: I work for my part, repair and maintenance of computers, and I have a client with a Lenovo W700 requiring a new screen. The original had been b
-
OfficeJet 4500 510n - print jobs stuck in the queue when using wireless
Hello I bought just a new Officejet 4500 510n yesterday and I have a Dell with Windows 7 64 bit laptop that I connect to the USB or wireless. The reason for this is that sometimes, the laptop is not right next to the printer and we need to print thin
-
DBaaS monitor: status unknown, but fine DB
On a new DBaaS, the DBaaS Monitor Console display unknown state.The EM Console shows that the DB is in good health. No errors in the log of alerts. With the DB connectivity is very good. The listener is in place.Restart the DB and the recipient has n
-
Product ID of Windows 8 Media Center Pack
I lost my code of Media Center product package windows 8. How can I re - get the number of Microsoft yet? I called their customer service but after being transferred more than Virgin hot * on a Saturday evening frat party and explain my problem, each