oracle-apex

APEX: How to Submit page when 'Enter' pressed on field

為{幸葍}努か 提交于 2020-01-04 09:25:08
问题 I have a page with one field only. How can user submit the page by pressing 'Enter' without having to click the 'Submit' button? User should therefore be able to either press 'Enter' or click 'Submit'. Thank you. 回答1: APEX text items have a property "Submit when Enter pressed". Set this to Yes and you are almost done. The APEX request is set to the name of the item so that you can, if you need to, have submit processing that depends on this e.g. PL/SQL Condition: :request in ('SUBMIT','P1_MY

How do you import data from your excel spreadsheet to ORACLE APEX?

有些话、适合烂在心里 提交于 2019-12-25 18:51:59
问题 I am completely new to databases, was wondering if there were ways to direcly upload the data in an excel file, to ORACLE APEX, if not, what would the best way be to upload small datasets .CSV extension around 15MB. 回答1: Apex enables you to directly upload CSV files using the Data Load Wizard. You can find a lot of tutorials. Here is just one. You can also upload Excel files using the following methods: EXCEL2COLLECTIONS Plugin Create a procedure that will translate excel data into strings.

How do you import data from your excel spreadsheet to ORACLE APEX?

女生的网名这么多〃 提交于 2019-12-25 18:51:30
问题 I am completely new to databases, was wondering if there were ways to direcly upload the data in an excel file, to ORACLE APEX, if not, what would the best way be to upload small datasets .CSV extension around 15MB. 回答1: Apex enables you to directly upload CSV files using the Data Load Wizard. You can find a lot of tutorials. Here is just one. You can also upload Excel files using the following methods: EXCEL2COLLECTIONS Plugin Create a procedure that will translate excel data into strings.

Uncheck checkbox after alert message

旧城冷巷雨未停 提交于 2019-12-25 18:39:09
问题 I created dynamic action in oracle apex i.e when selecting more than one check box it displays that "to select only one checkbox" if i click ok button of this message the checkboxes should be unchecked 回答1: After the confirm DA, add another DA with plsql code :PXX_CHECKBOX_ITEM := null; items to submit -> :PXX_CHECKBOX_ITEM 回答2: What Valerio wrote would work, but I am guessing this is to do with the apex.item stuff you have been dealing with. You will need to add another DA that is triggered

Date picker validation in APEX 5.0

寵の児 提交于 2019-12-25 14:05:11
问题 I am new to APEX environment and need to know the ways to perform validation on date picker items. On Apex page I have 2 date pickers , start date and end date. Selecting the start and end date I'm able to get the required data on page but need to add some validations in date pickers items, say e.g I need to add validation rules for : Start date should be less than End date Start date should not be greater than sysdate One should not be able to enter invalid date format. Can anyone please

Oracle XE stops working when host name chages

ε祈祈猫儿з 提交于 2019-12-25 11:54:34
问题 It has taken me weeks to solve this so I thought I would share: I am hosting an Apex app on Oracle XE using Google compute CentOS image. I was trying to get a second server going using a snapshot but found that once created I got connect refused. The database was running and I had not changed any firewall rules on centOS or Google Compute so could not understand how it would not work. I spent weeks blaming the two firewalls. 回答1: It turns out the Oracle stores host information in files used

Disable browser button until page finish loading

假如想象 提交于 2019-12-25 09:36:19
问题 I have an apex application but because the form page has so much data to render from individual record and sometimes if you don't have the patient to wait for that extra 2-6 seconds you sometimes click on the browser back button a button in the application and if you click on either of them. you will get an error from the application. Apex does support jquery, if you didn't know. I wanted to add a Javascript which disable any buttons including the browser buttons until a page in my

ORA-22831: Offset or offset+amount does not land on character boundary

浪尽此生 提交于 2019-12-25 07:58:06
问题 I am getting error during Oracle Apex 4.2 application export. ORA-22831: Offset or offset+amount does not land on character boundary 回答1: Are you using the LENGTH or the DBMS_LOB.SUBSTR function in any of your plsql code? If so you could take a look into LENGTHB and SUBSTRB. http://www.morganslibrary.org/reference/string_func.html#slen LENGTHC or SUBSTRC may help as well 来源: https://stackoverflow.com/questions/33238696/ora-22831-offset-or-offsetamount-does-not-land-on-character-boundary

Calling procedure in oracle apex

陌路散爱 提交于 2019-12-25 06:31:44
问题 I have created a package with two in inputs as shown below, however I am having trouble with testing the package to see if it works. I want to call the procedure and test it works with the inputs being 1 and 1000. Could anyone suggest a way of testing in Oracle Apex please? I'm not sure if I'm producing the output in the correct way inside the package, if I test the code outside of being a procedure and package it works fine. At the minute I just want to test it in the SQL Command. Package

SQL - Add a border bottom when column value changes

喜你入骨 提交于 2019-12-25 04:43:06
问题 I'm trying to add a border bottom red style to a table when the column value changes. As shown in the picture, I want to add a bottom border when FamilyID changes it's value. Any help is greatly appreciated and thank you in advance! 回答1: I have implemented same thing on classic report of employee , you can check url https://apex.oracle.com/pls/apex/f?p=26095 with userid: AMOL.PATIL@VYOMLABS.COM pass : Unicorn@123 Code in execute JavaScript page load section: var previous=null; var flag; $("td