Oracle APEX Tutorial 4 – Form Layout – Part 3 – Video Training

By M&S Consulting (Kevin) on Jun 30th, 2009
Filed Under Technical Tips // Tags: ,

Introduction

APEX gives you a lot of power and flexibility with its built in wizards. They are very good at
creating the base needs of a general application. This is true with forms. However, the wizards
create everything in the same way, which may or may not be what you want the end form to look
like. In this tutorial we will look at how to alter and better control the form’s appearance and
layout, as well as how to optimize our form somewhat. This tutorial installs it’s own sample data,
so the OEHR sample data is not required, but we reccomend you have it installed if you don’t
already. Our article on APEX Tutorial Preparation and OEHR Sample Data Install covers it’s
installation and creation of a user account for development purposes.

Part 3 - Creating Hints, Altering Item types, Label Templates and Buttons

YouTube Preview Image

High Level Steps

1) Create a Hint Region. (0:30)
2) Changing Item Types (1:42)
3) Label Templates (5:29)
4) Buttons and Bold (6:10)

Times in parenthesis are the approximate start times for those steps

Notes and Resources.

Item Types

As mentioned in the tutorials first part, the wizards create evrything in a form the same way.
By altering the item type we can make the form more compact, as well as easier to use for the
end user. We have a variety of options availible to us, from radio groups, to check boxes, to
select lists, as well as others. An empty field is not always the best way to get information.

Templates

We discuss the Label Templates, but make no changes in this tutorial. Any label can be altered
by it’s template setting, as well as other options. One thing of some confusion is the
difference between the templates ‘optional label with help’ and ‘required label with help’. The
main difference is that the Required Label option puts a small yellow asterik next to the label.
The number and type of label templates availible vary based on which theme you selceted for the
application.

Buttons

We also discuss but make no changes to the buttons in this application. Like all items in the
application, you can alter the appearance, position, label, and functionality of the buttons. We
have allowed the APEX system to place the buttons in this application, but we are free to move
them about if we wanted to.

Running for Update

This application is primarilly designed to input new employees. However, if you wanted to see
how some fo the conditional settings work, you need it in update form. If you wanted to fo this,
you woudl take the URL of the page (while it’s running, not in the developers edit screen) and
to the end of it add ‘P2_EMP_ID:1′, This will force a value (1) to be assigned to the named item
(P2_EMP_ID) and you will be able to see the data associated with that record. For example, if my
URL was ‘apex.oracle.com/pls/otn/f?p=9659:2:1284393467360777225::::’ I could update a record by
editing it to be apex.oracle.com/pls/otn/f?p=9659:2:1284393467360777225::::P2_EMP_ID:1 which
would allow me to view and update the record for employee 1

Code and Entered Text

Below is the text for the Hint Region

Use this page to enter and maintain employee information.

This is the LOV for P2_EMP_PART_OR_FULL_TIME

STATIC:Full-time;F,Part-time;P

This is the LOV and Null Display Value for P2_EMP_DEPT

STATIC:SALES,ACCOUNTING,MANUFACTURING,HR
- No Assignment -

This is the LOV for P2_EMP_TELECOMMUTE.

STATIC:;Y
Bookmark and Share

Related Information:

  1. Oracle APEX Tutorial 4 – Form Layout – Part 2 – Video Training
    APEX gives you a lot of power and flexibility with it's built in wizards. They are very good at creating...
  2. Oracle APEX Tutorial 4 – Form Layout – Part 1 – Video Training
    APEX gives you a lot of power and flexibility with its built in wizards. They are very good at creating...
  3. Oracle APEX Tutorial 5 – Check Boxes – Part 1 – Video Training
    Within APEX, there are a multitude of things you can use Check Boxes for, and many ways they can be...
  4. Oracle APEX Tutorial 3 - Drilldown Report Part 2- Video Training
    This tutorial covers section 4 of the Oracle APEX Advanced Tutorials, Creating a Drilldown Report...
  5. Oracle APEX Tutorial 9 - JavaScript - Video Training
    JavaScript is everywhere on the Internet today. Even if you don't realize it, this handy little scripting tool has become...
  6. Oracle APEX Advanced Tutorial 1 - Creating a Tabular Form - Video Walkthrough
    This tutorial is designed to walk you through section 2 of the Oracle APEX Advanced Tutorial, Creating a Tabular Form....
  7. Oracle APEX Tutorial 3 - Drilldown Report Part 1- Video Training
    This tutorial covers section 4 of the Oracle APEX Advanced Tutorials, Creating a drilldown report...
  8. Oracle APEX Tutorial 8 - Up and Downloading Files - Part 1 - Video Training
    Reports and data entry constitue the bulk of what most of these tutorials cover, and what many businesses need. However,...

One Response to “Oracle APEX Tutorial 4 – Form Layout – Part 3 – Video Training”

  1. Dale
    Jun 22, 2010
    Reply

    Hi, i have a problem I am currently trying to solve. I am developing a small database for my office and I want an option on a form where I can select a date from a date picker and below that i will have receipt numbers for the date selected being displayed as a list.

    I have a tone load of receipt numbers in the database, which is why I want to narrow it down to those numbers affiliated with a particular date.

    can you guys help me out here?



Leave a Reply


Archives

Recent Comments

  • Kavitha Muniraj said: Hi, Could you please send a script which checks the status of forms and reports of oracle...
  • Siddharth said: Hey thanks a lot !! Have been lookin all over for this :) My PC may not be able t handle FlashBuilder...
  • Cyrex said: Hey man why I cant install Apex 4? is there anyone can help me.,?
  • sharanabasava said: ALTER TABLE [my_table_name] RENAME COLUMN [current_column_name] TO [new_column_name]; Sir,I...
  • Huub Vankan said: Thanks for this easy solution. Indeed strange that is does not work in the (x86) folder….

Calendar

July 2010
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031  

Featured Testimonial

"M&S has taken 'partnership' to a new level. They are not only a deeply skilled service provider, the M&S team is actually a mission critical component to our operations, taking on new initiatives as well as maintaining custom, open source, and COTS solutions."

CEO, MedPivot

Free SQL Service