Page 351
If you do create another directoryfor example C:\Tyoyou'll need to modify three values in the Windows 95 Registry. The runtime components of Developer/2000Forms Runtime, Reports Runtime, and Graphics Runtimedon't use PATH to look for a form, report, or graphics file to execute. Instead, each runtime component of Developer/2000 uses a string value in the Oracle Registry key to search for the specified file. Specifically:
By default, FORMS45_PATH, REPORTS25_PATH, and GRAPHICS25_PATH contain directories only in the Oracle directory tree. If you try to run a form that is in C:\Tyo, Forms Runtime displays an error message indicating that it can't open the form. To run your form, report, or graphics, you'll need to add the directory that contains these files with the Registry Editor.
Page 352
This was an in-depth introduction to Oracle Forms. The key concepts in this lesson were as follows:
Page 353
On Day 13, you learn how to customize the appearance and behavior of a form. You learn how to construct a menu, build a master-detail form, and change various object properties.
Q Can a base table block include an item that isn't a part of the block's table?
A Absolutely. Such items are used to display values that are computed from other items in the block. For example, an order form typically has a line item total that you want to display for the user but isn't stored in a table.
Q Can a block be based on a view instead of a table?
A Yes. Often, such blocks are display-only; they aren't intended to be modified by the user.
Q Can a Forms application invoke other products, such as a report or chart?
A Yes. You can define menu items that will print a report or display a chart. You will see how this is done in Days 15, "Developer/2000: Developing Reports with Oracle Reports," and 16, "Developer/2000: Using Oracle Graphics and Procedure Builder."
The purpose of the Workshop is to allow you to test your knowledge of the material discussed in the lesson. See if you can correctly answer the questions in the quiz and complete the exercise before you continue with tomorrow's lesson.
Create a form for the Instructor table. Specify an ORDER BY clause so that the records retrieved by a query are ordered by department ID, instructor last name, first name, and middle initial. Test the form.
Page 354