oracle-apex

Oracle stored procedure error on select

人走茶凉 提交于 2019-12-24 06:39:08
问题 I am getting ORA-06550: line 2, column 1: PLS-00306: wrong number or types of arguments in call to 'GET_EMP_RS' ORA-06550: line 2, column 1: PL/SQL: Statement ignored Error while executing select command stored procedure in oracle. My Procedure is CREATE OR REPLACE PROCEDURE get_emp_rs (p_deptno IN emp.EMPNO%TYPE, p_recordset OUT SYS_REFCURSOR) AS BEGIN OPEN p_recordset FOR SELECT ENAME, JOB, MGR FROM emp WHERE EMPNO = p_deptno ORDER BY ENAME; END; / 回答1: You are not calling the procedure

ORA-01403: No Data Found when working with Master-Detail IG in Oracle APEX

做~自己de王妃 提交于 2019-12-24 05:17:07
问题 In Oracle APEX 5.1, I have an Interactive Grid Master-Detail page. The following series of steps (which users sometimes take) creates an unhandled exception (ORA-01403: no data found). User creates an invalid record in the master section and a corresponding record in the detail section. User attempts to save (row processing) and receives error due to invalid master record. Without deleting the invalid master record, user activates filters which remove invalid master record. User makes (valid)

Oracle error “ORA-28759: failure to open file” when requesting utl_http package

☆樱花仙子☆ 提交于 2019-12-23 20:46:56
问题 I can't execute following statement- DECLARE lo_req UTL_HTTP.req; lo_resp UTL_HTTP.resp; BEGIN UTL_HTTP.SET_WALLET ('file: C:\app\wallet','abcd@1234'); lo_req := UTL_HTTP.begin_request('https://wordpress.org/'); lo_resp := UTL_HTTP.get_response(lo_req); dbms_output.put_line(lo_resp.status_code); UTL_HTTP.end_response(lo_resp); END; My wallet path is C:\app\wallet and password is abcd@1234. When execute this code, display following error: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL

How to perform row by row validation on an Oracle APEX Tabular form using Ajax?

感情迁移 提交于 2019-12-23 17:43:56
问题 Using the same validation/processing that I performed, based on this thread: Calling an Oracle Function via Ajax for on the spot Validation Purposes in Oracle APEX v4.2.2 I now have a tabular form that can have 1 to n rows but when the user presses the "Apply" button, I need to perform this same type of validation, that I have, based on the thread above, i.e.: An example set of rows might be like: Col1 Col2 Col3 Col4 ---------------------------- A 10 20 30 B 5 8 9 C 92 88 12 D 1 2 44 E 95 77

How to add a dynamic legend to a D3 force directed graph in Apex?

∥☆過路亽.° 提交于 2019-12-23 12:47:55
问题 I built in Apex a D3 force graph basically like http://bl.ocks.org/mbostock/1093130 or http://bl.ocks.org/mbostock/4062045. The difference is, that I pull my data with an Application Process from a address table from the database. It works just fine. The colors of the nodes are defined by the address type (like Contact, Payment Office, Licensees, ...). Now I want to add a legend on the side of the page with the different colors the graph is using and the connected address type. Do I do that

Making a custom authentication based on 2 different types of users in apex

Deadly 提交于 2019-12-23 10:06:50
问题 I have an authentication scheme that currently only verifies whether the user is in one table, namely the employer table. Now I want this authentication scheme to verify whether the user is an employer OR a employee, and based on whether they are an employer or employee it should redirect them to different pages. First of all how would I include a second table in the authentication script? And my biggest problem is would I need a second application that links to the first application for when

Number and date format : altering NLS_SESSION_PARAMETER does not work?

…衆ロ難τιáo~ 提交于 2019-12-23 09:00:43
问题 Oracle 11.2.0.3.0, APEX 4.1.1.00.23. We need to display numbers in our application with the format FM999999999990.000 and dates with the English format DD-MON-YYYY . Even if the application language is going to change (french, spain, etc.), we always need this format for numbers (no space or comma for group separator, and a point for decimal separator, ie. -1254.010 ) and date (3 first letters from the English month name ie. 12-FEB-2012 ). Here are globalization attributes we are using (

Closes matching address (Google maps) APEX procedure

狂风中的少年 提交于 2019-12-23 05:14:32
问题 I have problem with displaying address in text field in one of the apex pages region. Currently I have longitude and latitude text fields, which read their values from draggable marker from the google map. (When you drag the marker, the program automatically retrieve geocode and it assigns it directly to appropriate text fields, it works perfectly fine). Now I want to do the same for address, when I drag the marker into any position I want to receive the closes matching address, which will go

Way to figure out / retrieve Windows username in Oracle APEX

坚强是说给别人听的谎言 提交于 2019-12-23 05:13:14
问题 I wanted to know, if there is a way to just get the Windows username with some kind of function, ... in Oracle APEX 4.2 an populate it a Display Only element in an application page. I don't want to do a login authentification, I just want to get the username. On the Oracle Database you could do something like SELECT SYS_CONTEXT('USERENV', 'OS_USER') "USERNAME" FROM dual; to get it. Is there a similar way for APEX? 回答1: ActiveX (IE only) For clients with Internet Explorer then you can identify

APEX LOV Display value look up

孤街浪徒 提交于 2019-12-23 04:50:37
问题 Is it possible to reference a LOV in plsql? I need to get the display value from a static LOV from PLSQL to use as a filter on an interactive report. I have trawled the documentation and google but there is no reference to being able to reference a LOV via plsql. Any help gratefully received 回答1: You can access the value of an item that has a LOV - that's usually what you want: select ename from emp where deptno = :p1_deptno -- P1_DEPTNO is a page item based on an LOV For static LOVs you can