Oracle Forms


Published on

Published in: Education
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Oracle Forms

  1. 1. Oracle Forms
  2. 2. Oracle Forms Tutorial <ul><li>Under Development Tools </li></ul><ul><ul><li>Select Oracle for Windows (Other tools) </li></ul></ul><ul><ul><li>Choose Oracle Developer 6.0 </li></ul></ul><ul><ul><li>Form Builder </li></ul></ul>
  3. 3. Forms: Starting Developer <ul><li>At the “Welcome to Form Builder” Screen, make sure the “Use the Data Block Wizard” is selected and click “OK” </li></ul>
  4. 4. Data Block Wizard <ul><li>At the initial screen click Next </li></ul><ul><li>Make sure Table View is selected and choose Next </li></ul>
  5. 5. Data Block Wizard: Part 2 <ul><li>At this Screen select the Browse Option </li></ul>
  6. 6. Data Block Wizard: Part 3 <ul><li>A Connect screen will then appear. </li></ul><ul><li>Enter your User Name, Password and Database that you were given for your Oracle Accounts </li></ul>
  7. 7. Data Block Wizard: Part 4 <ul><li>At the Tables window, Choose Current User and Ok </li></ul><ul><li>At the next Tables window, double click on the table you wish to create a form for. </li></ul>
  8. 8. Data Block Wizard: Part 5 <ul><li>The Table and its fields will appear. </li></ul><ul><li>If this is the wrong table click back and repeat from Part 2 </li></ul><ul><li>Move all fields you wish to include in your Form to the right side </li></ul>
  9. 9. Data Block Wizard: Part 6 <ul><li>After clicking Next, you will see the congratulations screen. </li></ul><ul><li>Highlight the “Create the Data Block and Call Layout Wizard” button and select finish. </li></ul>
  10. 10. Layout Wizard <ul><li>Select Next at the initial two screens </li></ul><ul><li>Next, Select all fields you wish to include and move them to the right column </li></ul>
  11. 11. Layout Wizard: Part 2 <ul><li>At this field you may edit the name and size of your attributes, but the defaults match your table definitions. </li></ul><ul><li>When finished select Next </li></ul>
  12. 12. Layout Wizard: Part 3 <ul><li>Select Forms and Click Next </li></ul><ul><li>Title your record and Choose one Record to be displayed and click next </li></ul><ul><li>Then Click Finish at the Congratulations Screen </li></ul>
  13. 13. Adding more tables <ul><li>In some instances you will want multiple tables in your form. </li></ul><ul><ul><li>First, if your runtime screen is open, close it to get back to Developer. </li></ul></ul><ul><ul><li>To add an additional table, go to the Tools menu then to Data Block Wizard. </li></ul></ul>
  14. 14. Adding more tables (cont.) <ul><li>After you choose the additional table, it will prompt you to make a join to the current table. </li></ul><ul><li>To create a join: </li></ul><ul><ul><li>Uncheck the “Auto-join data blocks” box </li></ul></ul><ul><ul><li>Click “Create Relationship…” </li></ul></ul><ul><ul><li>Make sure the “Based on a join condition” radius is marked and click OK </li></ul></ul><ul><ul><li>Choose the master table and click OK </li></ul></ul><ul><ul><li>Match the Detail Item with the Master Item then click next </li></ul></ul>
  15. 15. Altering the Design <ul><li>A window similar to this one will next appear. </li></ul><ul><li>You may drag and edit the fields in this window. </li></ul><ul><ul><li>Change font, size, height, width, location, etc. </li></ul></ul><ul><li>You may also add triggers and specialized actions to the form using PL/SQL </li></ul>
  16. 16. PL/SQL <ul><li>Stands for Procedural Language/SQL </li></ul><ul><li>Implements application logic into SQL </li></ul><ul><li>With PL/SQL you can write triggers that fire in response to the end-users actions (ex: press a button, execute a query, etc.) </li></ul><ul><li>To learn more about using PL/SQL in forms, go to and take a CBT (under Oracle Introduction and Oracle Database Programming) </li></ul>
  17. 17. Run the Form <ul><li>Click the green stop light to run the Form (Forms Runtime) </li></ul>
  18. 18. Entering Records <ul><li>You will now see your Form appear. </li></ul><ul><li>To get to the next record, click the forward blue arrow </li></ul><ul><li>When finished, click on the Open Teal Door and Save Changes </li></ul>
  19. 19. Creating and Using Forms <ul><li>This will update your Oracle account adding all new records to your tables </li></ul>
  20. 20. Learning more… <ul><li>To learn more about Oracle Developer: </li></ul><ul><ul><li>Goto: </li></ul></ul><ul><ul><li>Under Oracle Developer/2000 there are many CBTs to help. </li></ul></ul>