Introducing Multiple Form Applications |
01. The Department form is part of a multiform application that also includes the Customer and Orders forms. The Department form must include a query-based PRODUCT Record Group. You must ensure that all three forms can access the PRODUCT Record Group. Which built-in will you use to create the PRODUCT Record Group?
A. CREATE_GROUP('PRODUCT')
B. CREATE_GROUP('PRODUCT',FORM_SCOPE)
C. CREATE_GROUP('PRODUCT',GLOBAL_SCOPE)
D. CREATE_GROUP_FROM_QUERY('PRODUCT','select id,desc from products', GLOBAL_SCOPE)
E. CREATE_GROUP_FROM_QUERY('PRODUCT','select id,desc from products',FORM_SCOPE)
Answer: D
02. Which built-in should be used to invoke one form from another form so that you can navigate between the two?
A. CALL_FORM
B. OPEN_FORM
C. NEW_FORM
D. RUN_PRODUCT
Answer: B
03. Which built-in always starts a new Forms run-time session when you use it to invoke another form?
A. CALL_FORM
B. OPEN_FORM
C. NEW_FORM
D. WEB.SHOW_DOCUMENT
Answer: A
04. You are developing an Order Entry application. The Customers form calls the Orders form and passes the value of Customer_Id as a parameter by the same name, so that the orders for only that customer are displayed. What three statements are true? (Choose three)
A. You must create the parameter at design time in the Customers form.
B. You must create the parameter at design time in the Orders form.
C. You must create the parameter programmatically in the Customers form.
D. You must create the parameter programmatically in the Orders form.
E. You can programmatically refer to the parameter as :parameter.customer_id in the Customers form.
F. You can programmatically refer to the parameter as :parameter.customer_id in the Orders form.
Answer: B,C,F
05. You have the Customers form and the Orders form open the Forms Builder. You create an object group in the Orders form and you try to drag various components in the Object Navigator to the object group. Which two components will you be unable to place in the object group? (Choose two)
A. The Orders block of the Orders form.
B. The Order_CV canvas of the Orders form.
C. The Customers block of the Customers form.
D. The When-New-Form-Instance trigger of the Orders form.
E. The Product_Id item in the Order_Items block of the Orders form.
Answer: C,E
06. You want to insert a new row into the single column VIDEO Record Group. VIDEO has 14 rows, and the new row will be inserted after row 10. Which built-in will you use?
A. ADD_GROUP_ROW ('VIDEO',10);
A. ADD_GROUP_ROW ('VIDEO',10);
B. ADD_GROUP_ROW ('VIDEO',11);
C. SET_GROUP_SELECTION ('VIDEO',10);
D. SET_GROUP_SELECTION ('VIDEO',11);
E. ADD_GROUP_ROW ('VIDEO',END_OF_GROUP);
Answer: B
07. Which statement is true about built-ins that invoke one form from another?
A. CALL_FORM cannot be issued while in Enter-Query mode
B. CALL_FORM does not issue a save point
C. NEW_FORM invokes the second form in a modal state so the user can navigate freely between the two running forms
D. NEW_FORM improves performance but consumes more memory because the first form is retained in memory and returning to it is more efficient than reloading it
E. OPEN_FORM invokes the second form in a modeless state and optionally within a different transaction scope
F. OPEN_FORM is the only way to invoke the second form in "query only"
Answer: E
08. How can you restrict a query on a block temporarily, so that the restriction is in effect only for the first query on the block after setting the property?
A. Set the Where Clause block property at design time
B. Set the DEFAULT_WHERE block property programmatically
C. Set the ONETIME_WHERE block property programmatically
D. Set the Onetime Where Clause block property at design time
E. Set the Default Where clause for the block either at design time or programmatically
F. Set the Onetime Where clause for the block either at design time or programmatically
Answer: C
09. You are designing a Human Resources application that uses a menu to implement most of the code. One of the menu items is labeled Raise Salary. The business rule is that the salary should be raised 2% if the salary of the selected employee shown in the form is less than $25,000 per year, but the raise should be 3% if the value of the salary item is $2 5,000 or greater. Which condition can you use in the menu code to determine if the current value of the Salary item in the Employees block is less than $ 25,000?
A. IF : EMPLOYEES. SALARY < 25000 THEN ...
B. IF COPY('EMPLOYEES.SALARY') < 25000 THEN ...
C. IF NAME_IN ('EMPLOYEES. SALARY') <25000 THEN ...
D. IF FIND_ITEM('EMPLOYEES.SALARY') < 25000 THEN ...
E. IF GET_ITEM_PROPERTY('EMPLOYEES.SALARY',DATABASE_VALUE) < 25000 THEN ...
Answer: C
0 Comments