oracle-apex

Apex_Collections - How do I loop through an apex collection of arrays

走远了吗. 提交于 2019-12-13 00:47:53
问题 I have a collection of array's, currently the code select apex_collections.c001 from apex_collections where collection_name = 'LOAD_CONTENT' Shows the below on screen. C001 570 571 I have another table called errorTable that has a column Table1ID that matches with the values contained within the C001 array. I need to display all the records within the errorTable to the user where there is a match. In this example I want to show all records in errorTable where Table1ID match '570' or '571'. I

How to pass new PK to stored proc in Oracle Apex

試著忘記壹切 提交于 2019-12-13 00:26:46
问题 I have your standard Oracle apex page to create / edit / delete a record. I now wanted to call a stored proc when a new record is created (only on INSERT, not update/delete), so I created a Process on the page and tied it to the create button. All is well so far....it calls the stored procedure as expected as verified by the debug messages I put in there. However, I wanted to pass the new PK created as part of the new record to the stored proc. However it is receiving null. The process I

Oracle ApEx Checkbox to Manipulate Other Values When Checked/Unchecked

[亡魂溺海] 提交于 2019-12-12 15:25:05
问题 Firstly, I am using the latest version of Oracle ApEx 4.1.1 and have the following standard report that has a checkbox selection so when clicked, would like to set another field with sysdate, including time. When unchecked, would like to reset to NULL the date set in my previous statement as well as a comments fields Report might look like: select id, name, telephone, apex_item.checkbox2(10,id) as "Tick when Contacted", apex_item.display_and_save(20,:P2_DATE) as "Date Contacted", apex_item

Understanding Oracle Apex_Application.G_Fnn and how to use it

旧城冷巷雨未停 提交于 2019-12-12 08:03:08
问题 I am quite confused with how Oracle apex_application.gfnn works and whether it only works for standard SQL reports in Oracle ApEx or only with SQL (Updateable reports, i.e. tabular forms). Basically I am trying to achieve the following using this sample SQL, which is just a Standard SQL Report but I'm unsure if what I am trying to achieve is possible with this type or report, i.e.: select id, name, telephone, apex_item.checkbox2(10,id) as "Tick when Contacted", apex_item.text(20,my_date) as

Change the color of the sample line to apex oracle

自古美人都是妖i 提交于 2019-12-12 06:56:16
问题 I have a table with a list of car numbers "Auto numbers". They are reflected in an interactive report. Some of these numbers are assigned to cars that are displayed on the second Info Cars table. Is it possible to somehow change the line color in the table with the list of car numbers "Auto numbers". You only need to change the row color for rows that have common numbers that are displayed in the Info Cars table. 回答1: Create a hidden column in the table "Auto numbers", in which you can

How do I customize column headers with HTML in a report region of an Oracle APEX page?

瘦欲@ 提交于 2019-12-12 06:28:11
问题 Scope of Platforms Tested: Oracle 11g XE, Oracle APEX Versions 4.0.2 and 4.2.5 I don't like the column headers assigned to my APEX report after I assign my source query or table/view association. How do I change them? Can I add special formatting and embedded codes (e.g. HTML hex, decimal or short codes)? Additional Question: How do I keep these formatting codes out of the text values that are exported when I run a "download" or "save to csv" operation? 回答1: Conditional and Special Formatting

making my tabular form dynamic

若如初见. 提交于 2019-12-12 04:28:52
问题 I have a checkbox on a tabular form. I need to be able to hide it if the submit date is not filled in and show it when a date is there. Once the checkbox has been clicked, I need to update another field based on the checkbox being clicked or when I hit the update button. is this possible on a Oracle Apex tabular form in version 4.2? 回答1: You can create dynamic actions on tabular form fields, but you need to know some Javascript / jQuery / DOM stuff as it can't be done declaratively as it can

Is there any way to set REQUEST using AJAX in Oracle Apex?

余生长醉 提交于 2019-12-12 02:54:20
问题 This question follows off this previous question. I have a main report with a column link, that when clicked, refreshes a secondary report with a dynamic action that a) executes JavaScript which calls AJAX to set the page items that the secondary report uses to construct a SQL statement and b) refreshes the report. There is actually 2 tertiary reports as subregions in the secondary report, conditionally visible only when the REQUEST = a certain value. I call AJAX to set page items without

SQL error: Missing keyword?

删除回忆录丶 提交于 2019-12-12 02:43:09
问题 I'm getting a missing keyword error here. I recently added the WHERE clause and that's when the missing keyword error came up. Select job_id, (Case :P1_DATE_CHOOSER WHEN 'Daily' THEN trunc(start_time) WHEN 'Weekly' THEN trunc(start_time, 'WW') WHEN 'Monthly' THEN trunc(start_time, 'MM') END) "START_DATE", 1440*(END_TIME - START_TIME) "RUN_TIME" from NI_INFA_ACTIVITY_LOG_V WHERE (Case :P1_JOB_SIZE_CHOOSER WHEN 'Small' THEN (1440*(END_TIME - START_TIME)) <= 5 WHEN 'Medium' THEN (1440*(END_TIME

How to select a row element value from Oracle APEX 4 Classic Report (row element from a table tags)

依然范特西╮ 提交于 2019-12-11 20:46:45
问题 Here is the challenge.. I have a classic report based on SQL on Region 1 in Oracle APEX 4 The report (Report1) is structured like DATE_COL(this column will be hidden) or even the whole region can be hidden) Row1 12-01-2001 Row2 11-01-2001 Row3 10-01-2001 I want to select the value of DATE_COL of Row1 which is Date1 and assigned that to a label of an ITEM which can be on the same page or another page.. The ITEM say for example is P_ITEM whose name will be displayed as 12-01-2001 on the screen