Oracle APEX Tutorial 5 – Check Boxes – Part 1 – Video Training



Introduction

Within APEX, there are a multitude of things you can use Check Boxes for, and many ways they
can be used to improve your application. This tutorial will focus on some of the things you can
use them for, as well as how to set thier properties to make them work for you, not against you.
We reccomend you review our article APEX Tutorial Preparation and OEHR Sample Data Install if
you haven’t already, as this tutorial requires the OEHR Sample Data to work properly.

Part 1 – Base Application, Form Editing and Display Changes

YouTube Preview Image

High Level Steps

1) Create and Test base Application. (0:35)
2) Edit the Update Form (3:15)
3) Change Report Display. (8:04)

Times in parenthesis are the approximate start times for those steps

Notes and Resources

DUAL Table

The built in ‘DUAL’ table is a generic dummy table that allows you to perform set mathmatical
functions, or direct assignment of values using a SQL call. In this case we are force selecting
Y anywhere the values of the List and Min price meet the conditions in the WHERE clause.

Code and Entered Text

New Item Name, it’s LOV, Attribute Label and Source SQL Query

P2_SET_MIN_PRICE.
STATIC:Yes;Y,No;N
SET Minimum Price.
SELECT 'Y' FROM DUAL WHERE :P2_LIST_PRICE*0.75=:P2_MIN_PRICE

Process Name,SQL code,Sucess,Failure Messages, and Conditions.

UPDATE MIN Price.
UPDATE oehr_product_information
SET MIN_PRICE=(:P2_LIST_PRICE*0.75)
WHERE PRODUCT_ID=:P2_PRODUCT_ID;
Product successfully updated.
Unable to update this product. Contact your system administrator.
P2_SET_MIN_PRICE

Label and LOV for P2_SET_MIN_PRICE

SET Minimum Price.
STATIC: <b> Set Minimum Price</b>
 (25% Discount on List Price);Y
Bookmark and Share

Related Information:

  1. Oracle APEX Tutorial 5 – Check Boxes – Part 2 – Video Training
     Within APEX, there are...
  2. Oracle APEX Tutorial 4 – Form Layout – Part 2 – Video Training
    APEX gives you a lot...
  3. Oracle APEX Tutorial 8 – Up and Downloading Files – Part 1 – Video Training
    Reports and data entry constitue...
  4. Oracle APEX Tutorial 4 – Form Layout – Part 3 – Video Training
    APEX gives you a lot...
  5. Oracle APEX Tutorial 3 – Drilldown Report Part 1- Video Training
    This tutorial covers section 4...
  6. Oracle APEX Tutorial 10 – Access Control – Part 2 – Video Training
    Security. We hear about it...
  7. Oracle APEX Tutorial 4 – Form Layout – Part 1 – Video Training
    APEX gives you a lot...
  8. Oracle APEX Tutorial 10 – Access Control – Part 1 – Video Training
    Security. We hear about it...

3 Comments

  1. I am new on oracle APEX, I am very happy of found this Web site thank you.

  2. I MA GETTING THIS ERROR WHEN I AM CREATING THE FIRST ITEM
    “ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor”
    WHY IS THIS ?
    THX

  3. OHH MY BAD IT HAVE PUT IT IN THE LANGUAGE THAT I AM WORKING ON .
    “IT IS AN ERRO ON THE CONVERSION FORM CHARACTER TO NUMBER “

Leave a Reply