Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright Ó Oracle Corporation, 1999. All rights reserved. 22 Running a Form Builder Application.

Similar presentations


Presentation on theme: "Copyright Ó Oracle Corporation, 1999. All rights reserved. 22 Running a Form Builder Application."— Presentation transcript:

1 Copyright Ó Oracle Corporation, 1999. All rights reserved. 22 Running a Form Builder Application

2 2-2 Copyright Ó Oracle Corporation, 1999. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Describe the run-time environment Navigate a Form Builder application Describe the two modes of operation Retrieve both restricted and unrestricted data Insert, update, and delete records Display database errors After completing this lesson, you should be able to do the following: Describe the run-time environment Navigate a Form Builder application Describe the two modes of operation Retrieve both restricted and unrestricted data Insert, update, and delete records Display database errors

3 2-3 Copyright Ó Oracle Corporation, 1999. All rights reserved. Run-Time Components 4 1 2 3

4 2-4 Copyright Ó Oracle Corporation, 1999. All rights reserved. Run-Time Components 4 1 2 3

5 2-5 Copyright Ó Oracle Corporation, 1999. All rights reserved. Data Elements 1234 5 7 6 98

6 2-6 Copyright Ó Oracle Corporation, 1999. All rights reserved. Navigating at Run Time Default menu Menu toolbar Mouse Buttons Function keys Default menu Menu toolbar Mouse Buttons Function keys

7 2-7 Copyright Ó Oracle Corporation, 1999. All rights reserved. Navigating at Run Time Default menu Menu toolbar Mouse Buttons Function keys Default menu Menu toolbar Mouse Buttons Function keys

8 2-8 Copyright Ó Oracle Corporation, 1999. All rights reserved. Allows: Unrestricted and restricted queries —> Record count by using Query—>Count Hits Allows: Unrestricted and restricted queries —> Record count by using Query—>Count Hits Enter Query Mode Does not allow: Navigation out of current data block Exiting run-time session Certain functions Insert, update, delete

9 2-9 Copyright Ó Oracle Corporation, 1999. All rights reserved. Normal Mode Allows: Unrestricted queries Insert, update, delete Commit (Save) Navigation out of current data block Exiting run-time session Allows: Unrestricted queries Insert, update, delete Commit (Save) Navigation out of current data block Exiting run-time session Does Not Allow: Restricted queries Query/Where dialog box

10 2-10 Copyright Ó Oracle Corporation, 1999. All rights reserved. Retrieving Data A B C D 1 2 3 4 3 4 Unrestricted query Restricted query ABCD 1 3 4 2 ABCD 1 2 3 4

11 2-11 Copyright Ó Oracle Corporation, 1999. All rights reserved. Retrieving Restricted Data Do not use quotation marks with character and date items. The LIKE operator is implied with % or _. Use hash (#) in front of SQL operators. Use Query/Where for complex query conditions. Use default date format (DD-MON-YY) in Query/Where. Use quotes around literals in Query/Where. Do not use quotation marks with character and date items. The LIKE operator is implied with % or _. Use hash (#) in front of SQL operators. Use Query/Where for complex query conditions. Use default date format (DD-MON-YY) in Query/Where. Use quotes around literals in Query/Where.

12 2-12 Copyright Ó Oracle Corporation, 1999. All rights reserved. Query/Where Dialog Box Invoke by: –Entering :variable_name –Executing query Used to write: –Complex search conditions –Queries with OR predicates –ORDER BY clause Invoke by: –Entering :variable_name –Executing query Used to write: –Complex search conditions –Queries with OR predicates –ORDER BY clause

13 2-13 Copyright Ó Oracle Corporation, 1999. All rights reserved. Query/Where Dialog Box

14 2-14 Copyright Ó Oracle Corporation, 1999. All rights reserved. Making Changes Permanent Form module ORDERS Order Item Action Save FORMS RUNTIME DeletesUpdatesInsertsMemory or

15 2-15 Copyright Ó Oracle Corporation, 1999. All rights reserved. Making Permanent Changes — Select Action—>Save to make changes permanent. Select Action—>Clear All to discard changes. — Select Action—>Save to make changes permanent. Select Action—>Clear All to discard changes.

16 2-16 Copyright Ó Oracle Corporation, 1999. All rights reserved. Display Error Use to view Oracle errors Select Help—>Display Error Shows: –SQL statement in error –Error information Use to view Oracle errors Select Help—>Display Error Shows: –SQL statement in error –Error information

17 2-17 Copyright Ó Oracle Corporation, 1999. All rights reserved. Summary The run-time environment Data elements Navigation methods Modes of operation: –Normal mode –Enter Query mode The run-time environment Data elements Navigation methods Modes of operation: –Normal mode –Enter Query mode

18 2-18 Copyright Ó Oracle Corporation, 1999. All rights reserved. Summary Retrieving data: –Restricted queries –Unrestricted queries Inserting, updating, and deleting data Displaying errors Retrieving data: –Restricted queries –Unrestricted queries Inserting, updating, and deleting data Displaying errors

19 2-19 Copyright Ó Oracle Corporation, 1999. All rights reserved. Practice 2 Overview This practice covers the following topics: Running a form application Executing unrestricted and restricted queries Performing inserts, updates, and deletes in a form application Saving changes to the database This practice covers the following topics: Running a form application Executing unrestricted and restricted queries Performing inserts, updates, and deletes in a form application Saving changes to the database


Download ppt "Copyright Ó Oracle Corporation, 1999. All rights reserved. 22 Running a Form Builder Application."

Similar presentations


Ads by Google