1.
You create the following four menu items for the main many of a menu module that is attached to a form: Name Label
--------------------------------------- ------------------------
ENTER_QUERY ENTER QUERY
EXECUTE_QUERY EXECUTE &QUERY
EDIT Edi&t
EXIT eXit
At run time, which menu item is invoked when a user presses Alt+E?
2.
There is a requirement to change the default functionality of certain function keys (suck as [Exit], [Create Record], [Duplicate Record], and so on) when the focus is in the INVENTORIES block of the Orders form.
If the user presses the [Exit] key, the focus should be transferred to the ORDER_ITEMS block. Pressing the other function keys should cause a meaningful message to appear.
How can you meet this requirement?
3.
The database EMPLOYEES table has a foreign key constraint referencing the DEPARTMENTS table.
You are developing a Human Resourced application. HR clerks use the Employees form to query, update, and insert employee records. They occasionally attempt to add an employee who is a new department that has not
yet been entered into the database. When this happens, they receive an error indicating that the parent record cannot be found, so they cannot commit the employee record.
The HR clerks have requested that you place a button on the form to enable them to invoke the Departments form to enter the new department and save it independently. Then they want to be able to return to the
Employees form and decide whether or not to save the new employee record.
How should you code the When-Button-Pressed trigger to achieve this?
4.
You are running a form in debug mode and you begin to step through the code of a lengthy subprogram. After stepping through a few lines of its code, you realize that the error comes not from the code in that particular
subprogram but from code that is executed after it. At this point, how can you immediately jump to the next line of code after the call to the subprogram?
5.
Which built-in can you use to programmatically set the validation status for all records in a block?
6.
Which statement is true about client-side validation?
7.
The LINE data block is defined in the Order.fmb module. LINE items are displayed in the default window at run time. In a second window, called BUTTONS, you display a set of icon buttons. At run time, the user must be
able to freely navigate between the two windows.
Which statement identifies the types of windows to define?
8.
You have started an instance of OC4J to test a Forms application on your development PC.
How should you cleanly shut down the OC4J instance?
9.
You are building the Customer.fmb module, and you define a multirecord data block based on the CUSTOMERS table. The data block is called CUST.
You specify a Tabular layout style for the CUST items. When the window is at its maximum size, only some of the items can be viewed in the window. To view all items together, you should enable users to scroll horizantally thriugh the CUST items;however, the CUST_ID and CUST_Name items should always be visible Which combination of canvas types is most appropriate to display the CUST items together?
10.
You want users to be able to add a single value to a list item.
How do you achieve this?