oracle-apex

how to trigger an update on a table row value using a row value from another table in Apex Oracle SQL?

泪湿孤枕 提交于 2019-12-11 04:33:45
问题 i have two tables; Purchase order: CREATE TABLE "PURCHASE_ORDER" ( "PO_NUMBER" NUMBER(*,0) NOT NULL ENABLE, "CUSTOMER_NUMBER" NUMBER(*,0), "PO_DATE" DATE, "PRICE" NUMBER(*,0), "ORDER_QUANTITY" NUMBER, "STOCK_ID" NUMBER(*,0), PRIMARY KEY ("PO_NUMBER") and the bulk stock table: CREATE TABLE "BULK_STOCK" ( "STOCK_ID" NUMBER(*,0) NOT NULL ENABLE, "STOCK_DESCRIPTION" VARCHAR2(50), "STOCK_UNITOF_MEASUREMENT" VARCHAR2(50), "STOCK_STATUS" VARCHAR2(50), "FLOOR_ID" NUMBER(*,0), "STOCK_NAME" VARCHAR2(50

How to use Oracle DBMS_ALERT within Oracle APEX?

烈酒焚心 提交于 2019-12-11 04:28:41
问题 Using Oracle APEX 4.2, I have a page process that uses DBMS_ALERT for a running process that may take up to a minute to complete or fail. While this is running, through the use of a trigger, there is a DBMS_ALERT.signal posting notifications of progress. My question is, within Oracle APEX 4.2, how can I display to the user, a running progress of these notifications from DBMS_ALERT, within a region or modal on the page? I need to provide the user all these alerts as the job is running until it

Oracle APEX: popup menu

北城余情 提交于 2019-12-11 03:24:23
问题 I have seen in this application a popup windows with a form inside. Can anyone help me build a popup windows like that, or if there is any tutorial where I can see how it's done. 回答1: There are some modal form plug-ins like this one on Apex-Plugin.com. I haven't used them myself so cannot vouch for them. Alternatively, use your browser's "View Source" function on the Apex page you like and you will see all the function definitions and where they are called. It appears to just be using the

Application Express: Anonymous PL/SQL Block and Bind Variables

谁说我不能喝 提交于 2019-12-11 03:18:58
问题 I'm having an issue binding the value of a page item to a declared variable in an anonymous PL/SQL block process. The problem is that the page item (:P4550_REQUESTOR) is not populated with a value until a conditional is met. It appears that the PL/SQL block process is binding the variable to an empty value as soon as the page is loaded, despite the fact that the process does not fire until a specific button has been clicked. Here is my code: DECLARE v_email_to app_user.email%type; v_requestor

How to hide text field item based on true or false cases in Oracle Apex

廉价感情. 提交于 2019-12-11 02:54:24
问题 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. 回答1: A simple (though not bullet-proof) solution is to create a Dynamic Action on the Order Number item that, when Changed, issues a query on the database to check if the order number

SQL Auto-Increment in Oracle APEX occasionally skips a chunk of numbers when incrementing?

时光总嘲笑我的痴心妄想 提交于 2019-12-11 02:48:51
问题 I have created a table in APEX that has a PK that is incremented by a SQL sequence: CREATE SEQUENCE seq_increment MINVALUE 1 START WITH 880 INCREMENT BY 1 CACHE 10 This seems to work perfectly. The issue is that sometimes, usually when I get on in the morning and run a process to enter a new row, it skips a bunch of numbers. I only care because these numbers are being used as the ID# of documents in my company and losing/skipping blocks of numbers is not going to be acceptable when this tool

Prevent browser back button after login and logout in oracle apex

拟墨画扇 提交于 2019-12-11 00:48:30
问题 In Oracle APEX, how do I prevent a user from navigating back to the login page from the home page using browser back button after login, and then navigating back to home page from the login page after logout? I tried the following JavaScript code window.history.forward(); But it did not give me the expected results. 来源: https://stackoverflow.com/questions/48617294/prevent-browser-back-button-after-login-and-logout-in-oracle-apex

Oracle Apex 4.2.4 Display only fields not saved to database

白昼怎懂夜的黑 提交于 2019-12-10 21:24:53
问题 I am using a dynamic action to auto fill data into fields based on the ID of a person that is being pulled from another table (which pulls the person's dept, employee#, etc). This works fine if I leave the auto populated fields editable, but I want these fields to be 'display only' so that the person entering the data cannot edit it. That's the whole reason for using dynamic action. When I set the fields to 'display only', the data never gets saved to the table so the fields are blank when I

Interactive grid column to display full content but read only

自古美人都是妖i 提交于 2019-12-10 18:48:30
问题 Environment: Oracle APEX v5.1.2 / Oracle 12c I have an interactive grid report by where I have one field that is a display only column but it actually returns an error message description that could be quite long. Since I would like to keep my IG report to one record per row, is there a means of being able to display the full contents of this field without allowing changes to the underlying column value in the database? Some means of a tool tip or being able to drill into the field to view

Oracle Forms Vs APEX [closed]

一笑奈何 提交于 2019-12-10 17:27:07
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 11 months ago . Why are companies and developers migrating from Oracle Forms to APEX? I need the answer of this question as I am going to develop new application, and I'm hesitating between Oracle Forms and APEX 回答1: Because Oracle decided to kill Oracle Forms; This is about 'job security'