oracle-apex

Including alert message for my dynamic Actions

不想你离开。 提交于 2020-01-07 07:40:21
问题 I have a set of text Field items in oracle apex: Order Number Revision Number When we open the report, revision should be hidden. Only when the user enters unique order number (non-duplicate order numbers), revision number should be visible. If he enters duplicate order number, revision number should be hidden. I have created these dynamic actions and it is working fine. If the order number is duplicate I need to put a alert saying "This is a Duplicate value"? Where do I include the alert

Setting the APP_USER as a value to be passed to target page in APEX

和自甴很熟 提交于 2020-01-07 04:23:05
问题 I'm making a student management system on apex. The short of it is a place where lecturers and students can log on. Lecturers create assignments, assign them, mark them, take attendance, record issues ...... all that, and students log on to view their attendance and results. Now when a student clicks the "My Results" link it navigates to the same page that a lecturer sees, though the select list where a student is selected to view the results of is hidden. The select list displays the

setTimeout Not Working Oracle Apex

本小妞迷上赌 提交于 2020-01-06 14:25:28
问题 I am trying to run this code from this thread in StackOverflow in Oracle ApeX and it looks as if the setTimeout call is not working as suppose to: [see thread][1] <html lang="en"> <head> <title>Dashboard Example</title> <style type="text/css"> body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; } iframe { border: none; } </style> <script type="text/javascript"> var Dash = { nextIndex: 0, dashboards: [ {url: "http://www.google.com", time: 5}, {url: "http://www

Range Fill Table

若如初见. 提交于 2020-01-06 08:10:31
问题 Good day! There is a table: CREATE TABLE table ( start_range varcahar2(10), end_range varcahar2(10), val_range NUMBER(10) ); At the initial stage, we filled in two fields: start_range and end_range. start_range = a1; end_range = a5; Can you fill a completely different table in the range a1-a5 (a1, a2, a3, a4, a5) in Apex? 回答1: You can use the following: SELECT DISTINCT PREFIX || ( START_RANGE + LEVEL - 1 ) FROM ( SELECT REGEXP_SUBSTR(START_RANGE, '^[[:alpha:]]+') AS PREFIX, REGEXP_SUBSTR

How to insert base64 encoded img src attribute into table in Oracle and then display it on the page in Oracle apex

天涯浪子 提交于 2020-01-06 05:27:09
问题 My requirement is to insert img src values into table and then display in on the apex page. How can I do that? I have created a function which inserts the img src into CLOB column But incase the length exceeds 32000 it doesnt insert it to the CLOB column 回答1: The fact that your data is getting truncated at 32000 characters (probably actually 32767) means you have some intermediate VARCHAR2 . Other than that, there's not enough information here. Once you get your base64 encoded data, to

Having issues redirecting to another page on closing of modal dialog page

我怕爱的太早我们不能终老 提交于 2020-01-05 07:10:29
问题 I have page 1 from which I open a modal dialog page - page 2. Now when I close the modal dialog, I want to be redirected to page 3. On page 2 I have a button that has a dynamic action defined where on button click two actions take pace: Page Submit (with an after submit branch out to page 3) and Close dialog. Once I click on the button, dialog closes but the user stays on page 1, not going to page 3. 回答1: If you have branch, you don't need to close dialog.. Another option is to travel through

How can I create oracle apex server side live validation without need to submit page

拈花ヽ惹草 提交于 2020-01-05 05:57:14
问题 I created form for customers, I need to do validate customer name like 1 - type the new name into item P1_CUST_NAME. 2 - after leaving this item go to database and check if this name already exist or not. 3 - display alert or message for the client. 4 - prevent the client from navigating a way from this item until he enter valid data. 回答1: Yes, you can create server side validation by using Dynamic Action and JavaScript function apex.server.process . A basic example to demonstrate- Create a

Oracle Apex 5.1: About creating an empty input form like the input form when creating table

别说谁变了你拦得住时间么 提交于 2020-01-05 05:24:26
问题 I want to create a form using oracle apex 5.1 like the image below. But I do not know how to create it. Could anyone direct me achieve this? 回答1: You can use APEX_ITEM.TEXT in your query: select empno, APEX_ITEM.TEXT(25,ename) ename, job, mgr, hiredate from emp; You have to click on column ( ename ) in Columns section of your report and set Escape special character to No . If you use Interactive report you can put HTML Expression for every column like: <input type="text" value="#JOB#"> To

oracle apex redirect to modal dialoge page from pl/sql code

主宰稳场 提交于 2020-01-05 05:08:40
问题 I have a page process in my apex page. I want to redirect to a modal dialoge page after the page process finishes. So I wrote the code htp.init; owa_util.redirect_url('f?p=&APP_ID.:34:APP_SESSION.::NO:34:P34_CODE,P34_DAY_DATE:P30_CODE.,'||:P30_DAY_DT); apex_application.stop_apex_engine; The page 34 is a modal dialoge page . Hence it shows error page 34 cannot be rendered successfully. Ensure the page template in use on page 34 is of template type "Dialog page", with appropriate JavaScript

Allow to check only one checkbox in Oracle apex

孤者浪人 提交于 2020-01-05 04:07:26
问题 I created classic report with check boxes using apex_item.checkbox .I want to know how to allow to check only checkbox.That is if i click more than checkbox alert message should display.Please help me out Thanks in advance. 回答1: If you want to do this via dynamic actions then you will want do a dynamic action on event Change, Selection Type jQuery Selector and the jQuery Selector being input[name = "something"] This something you can figure out by running the page as is, and if you click F12