FORMS Interview Questions
FORMS Interview Questions
1. The DBA has added STATE column to the CUSTOMERS table and has asked you to add a corresponding State item to the Customers block of the Orders form. You want to make it easier for order entry clerks to enter the correct state abbreviation. Most customers are located in five southeastern states, although on very rare occasions there will be customers from outside that area. You decide to Implement a list item with five values for the State item and allow clerks to enter the state abbreviation director for those customers outside the region. Which style of list item will you create for the State item? A. B. C. D. A poplist A Tlist A combo box. There is no style of list item that allows users to enter values that are not on the list.
Answer: C 2. You want to create a new data block. You click the Data Blocks node in the Object Navigator, and then you click Create to invoke the Create Data Block dialog box. As you click through the s of the wizard, the shown in the exhibit appears. After looking at the exhibit, what do you know is true about this form? A. B. C. D. The block you are creating is based on a view. The block you are creating is based on a stored procedure. The form contains at least one block in addition to the block you are creating. In addition to the block you are creating, the form contains at least two other blocks
that are master detail blocks. E. The block you are creating is based on a table that has at least one foreign key
relationship to another table. Answer: C 3. You are creating an application on a Windows PC, and you want to test a form. What are two ways to start an OC4J instance on the PC? (Choose two) A. B. C. D. E. F. From the Forms Builder menu. From the Windows Start menu. By executing a batch file that is included with Oracle9iDS. From the test form that is included with Oracle9iDS. From the HTML front end (runform.htm) that is included with Oracle9iDS. By running a Forms Builder form, this automatically starts OC4J
Answer: B, C 4. While updating an existing customer record using the Customers form, the user invoked the Orders form by clicking the CONTROL.Orders_btn button. The When-Button-Pressed trigger had the following code: CALL_FORM('orders'); There is a requirement to navigate back to the Customers form after the order details have also been updated. This will be achieved through a form-level Key-Exit trigger in the Orders form. Which code should be used? A. IF GET_APPLICATION_PROPERTY(calling_form) IS NOT NULL THEN
EXIT_FORM(ASK_COMMIT, NO_ROLLBACK;
IF :SYSTEM.FORM_STATUS <> 'QUERY' THEN GO_FORM('customers'); ELSE EXIT_FORM; END IF; ENTER; C. IF :SYSTEM.CURSOR_BLOCK = 'CHANGED' THEN
COMMIT_FORM: END IF; GO_FORM(customers'); Answer: A 5. Your company assigns three possible credit ratings to customers: Poor, Good, and Excellent (represented numerically by 1, 2, and 3). The DBA has just added a RATING column to the CUSTOMERS table and has asked you to add an item to your form so that data entry clerks can populate the RATING Column. To restrict data entry clerks to one of these three values, you decide to create a radio group for the Rating item. With the Customers block selected in the Layout Editor, you use the radio button to create three radio buttons on the canvas. You then set the labels (Poor, Good, and Excellent) and values (1, 2, and 3) for the radio buttons. You set the name of the radio group to RATING, its Data Type to Number, and its Database column to Rating .You run the form to test it. When you execute a query, however, no records are returned, although there are many customer records in the database. What can you do to make the query return the records? A. B. blank. C. Create a fourth radio button for an undetermined credit rating and explicitly set its Set the Mapping of Other Values property for the radio group to Null. Create a fourth radio button for an undetermined credit rating and leave its value
value to Null. D. values. Answer: A 6. You are editing the INVENTORY tab canvas. You set the Tab Attachment Edge property to RIGHT .You also change the ordering of INVENTORY tab s in the Object Navigator. The Choose a different type of input, because radio groups do not allow query of Null
Direction property has not been customized. What influence will this have on the display of tab s at run time? A. B. C. D. E. The highest tab in the Object Navigator will appear at the far left of the tab stack. The highest tab in the Object Navigator will appear at the top of the tab stack. The highest tab in the Object Navigator will appear at the far right of the tab stack. The highest tab in the Object Navigator will appear at the bottom of the tab stack. The lowest tab in the Object Navigator will appear at the start of the tab stack.
Answer: B 7. In the Product.fmb module, data block items are displayed on two content canvases. You define a set of icon buttons that users must have access to at all times. Which canvases type is appropriate to display the buttons? A. B. C. D. E. Overlay stacked canvas. Overlay Tab canvas that is associated with a separate window. Content canvas that is associated with the same window as the two content canvases. Horizontal Toolbar canvas that is associated with a separate window. Horizontal Toolbar canvas that is associated with the same window as the two content
canvases. Answer: E
8. You are developing an Order Entry form. The When-New-Form-Instance trigger executes a query on the only block in the form. Instead of the alert shown in the exhibit, when the query cannot be performed you want to display to the user a message with the actual database error that is received. What can you do to implement this? A. in: IF NOT FORM _SUCCESS THEN message(DBMS_ERROR_TEXT); END IF; B. in: IF NOT FORM_SUCCESS THEN message(SQLERRM); END IF; C. Place this code in a form-level On-Error trigger: In the When-New-Form-Instance trigger, insert this code after the EXECUTE_QUERY built In the When-New-Form-Instance trigger, insert this code after the EXECUTE_QUERY built
IF ERROR_CODE = 40505 THEN message(DBMS_ERROR_TEXT); END IF; D. Place this code in a form-level On-Error trigger:
IF ERROR_CODE = 40505 THEN message(SQLERRM); END IF; E. Add this exception handler to the When-New-Form-Instance trigger:
EXCEPTION WHEN ERROR_CODE = 40505 THEN MESSAGE(DBMS_ERROR_TEXT); F. Add this exception handler to the When-New-Form-Instance trigger:
EXCEPTION WHEN ERROR_CODE = 40505 THEN MESSAGE(SQLERRM); Answer: C 9. Which of the items depicted in the Menu Editor (shown in the exhibit) must contain PL/SQL code? A. B. C. D. E. Exit and Save only. File, Edit, and Customers only. All items shown in the Menu Editor should contain PL/SQL code. Exit, Save, Customers Report, Open Customers, and Call Customers only. Exit, Save, Cut, Copy, Paste, Customers Form, Customers Report, Open Customers, and
10. To centralize some of your processing, you decide to write PL/SQL library modules that contain Procedures that can be called from the triggers or menu items .You want the message "Credit limit exceeded" to be displayed when the values in the order_total and credit_limit fields in the Orders form meet certain criteria. Which code do you use? A. IF :order_total > 10000 AND :credit_limit < 10000 THEN
MESSAGE('Credit limit exceeded'); END IF; B. IF :SYSTEM.cursor_item > 10000 AND :SYSTEM.trigger_item < 10000 THEN
MESSAGE('Credit limit exceeded'); END IF; C. IF NAME_IN('order_total') > 10000 AND NAME_IN('credit_limit') < 10000 THEN
MESSAGE('Credit limit exceeded'); END IF; D. THEN MESSAGE('Credit limit exceeded'); END IF; E. IF :ORDERS.order_total > 10000 AND :ORDERS.credit_limit < 10000 THEN IF COPY('ORDERS.order_total') > 10000 AND COPY('ORDERS.credit_limit') < 10000
11. How can you programmatically determine which button a user pressed to respond to an alert? A. Use the GET_ALERT_PROPERTY function.
B. C. D.
Use the GET_ALERT_BUTTON_PROPERTY function. Check the value returned by the SHOW_ALERT function to see if it is 1, 2, or 3. Check the value returned by the SHOW_ALERT function to see if it is ALERT_BUTTON1,
ALERT_BUTTON2, or ALERT_BUTTON3. E. Check the value returned by the SHOW_ALERT function to see if it is ALERT_BUTTON1,
12. You should enable the user to add additional values to a list item at run time. You must also ensure that the Record Group LOCATIONS, which is used to populate the list item, can be updated with any usersupplied value. What two actions could you take to accomplish this? (Choose two) A. B. C. D. E. Add a new value to the list item by calling the POPULATE_LIST built-in. Add a new value to LOCATIONS by calling the POPULATE_GROUP built-in. Add a new value to the list item by calling the ADD_LIST_ELEMENT built-in. Remove duplicate values in LOCATIONS by calling the DELETE_LIST_ELEMENT built-in. Add a new value to LOCATIONS by calling the ADD_GROUP_ROW and
SET_GROUP_CHAR_CELL built-ins. F. Add a new value to LOCATIONS by calling the ADD_GROUP_ROW and
13. You write a form in which there are two text items (FIELD 1 and FIELD2) and a button (BTN1) arranged in the following sequence: FIELD1, BTN2, FIELD2 Which three conditions will combine to produce a Navigation Trap when the focus is in FIELD1 and the user presses the [Next Item] key? (Choose three) A. B. C. D. E. F. G. H. FIELD1 has a Post-Text-Item trigger that fails. FIELD1 has a Pre-Text-Item trigger that fails. FIELD1 has a When-New-Item-Instance trigger that fails. FIELD2 has a Post-Text-Item trigger that fails. FIELD2 has a Pre-Text-Item trigger that fails. FIELD2 has a When-New-Item-Instance trigger that fails. The Keyboard Navigable property of BTN1 is set to No. The Keyboard Navigable property of BTN1 is set to Yes.
Answer: B,E,G
14. Which two statements define a Static Record Group? (Choose two) A. B. C. The Record Group can be created only at run time. The Record Group is not associated with a query. The Record Group can be created and modified only at design time.
D. E. F.
The Record Group can be created and modified at design time or at run time. You can modify the structure of this Record Group by adding columns and rows at run time. You can modify the structure of this Record Group by associating it with a query at run time.
Answer: B,C
15. There is a requirement in the Orders form to direct the focus depending on the value in the Sales Rep Id text item. The design team has not yet decided on the exact details, but you propose the following style of code: IF :ORDERS.Sales_Rep_Id = ... THEN --value to be decided later GO_ITEM(...); --item to be decided later ELSE GO_ITEM(...); --item to be decided later END IF; A colleague suggests that the code could be called from the triggers listed below. In fact, not all these triggers can execute the code. Which three triggers can call the code? (Choose three) A. B. C. D. E. F. Post-Block on the Orders block. Pre-Block on the Order_Items block. When-New-Block-Instance on the Orders block. Post-Text-Item on the Sales Rep Id text item. When-Validate-Item on the Sales Rep Id text item. When-New-Block-Instance on the Order_Items block.
Answer: C,E,F
16. The REGIONS non-query Record Group has two char columns. Which built-in can you use to replace any existing rows in REGIONS with the results of a query? A. B. C. ADD_GROUP_ROW('REGIONS',2); rgno :- POPULATE_GROUP('REGIONS'); rgno := POPULATE_GROUP_WITH_QUERY('REGIONS', 'select name, country, id from
regiontable') E. F. rgno := CREATE_GROUP_FROM_QUERY('REGIONS', 'select name, country from regiontable'); rgno := POPULATE_GROUP_WITH_QUERY('REGIONS', 'select name, country from
regiontable'); G. You cannot populate a non-query Record Group with the results of a query.
Answer: F 17. You are a developer in the IT department of a municipal utility. You have been tasked with integrating two applications that are already in production. The first application is a customer management system. Its main form is the Customers form, in which utility clerks enter and update customer information. The second application is a GIS application. One of its forms, the Address form, enables clerks to enter an address, click a button, and have the address verified and property formatted according to postal standards. You need to add a button to the Customers form that will pass the customer address to the Address form and receive the
properly formatted address back. A variable of the user-defined type Addr_Typ will contain the address information to be passed back and forth between the two users. Which method of sharing data will you use? A. B. C. D. E. Global variables Global record group Parameters Shared PL/SQL library There is no method of sharing data that enables you to use a variable of a user-defined type.
Answer: D 18. Consider the following scenario: In a multiform application, the user started in FormA. 1. 2. 3. 4. From FormA, the user invoked FormB using CALL_FORM. From FormB, the user invoked FormC using OPEN_FORM. From FormC, the user invoked FormD using OPEN_FORM. From FormB, the user invoked FormE using CALL_FORM. There is an additional form in the application, called FormF. Which statement is true? A. B. C. D. E. FormF can be invoked from FormC using CALL_FORM. FormF can be invoked from FormA using OPEN_FORM. FormF can be invoked from FormD using CALL_FORM. FormF can be invoked from FormE using CALL_FORM. FormF can be invoked from FormB using OPEN_FORM.
Answer: D
19. Some forms that you wrote have been through part of the testing cycle. One of the testers has reported encountering a "Navigation Trap" in your Orders form. Which scenario could have caused the Navigation Trap? A. A.The Pre-Form trigger validates the user and time of day and also contains the code:
GO_ITEM('ORDERS.Date_Ordered'); This is an illegal call to a restricted built-in, resulting in the Navigation Trap. B. Two adjacent text items have When-New-Item-Instance triggers that fail when executed. This left
the internal cursor with no place to go when the tester attempted to navigate to them, and there was a fatal error for the form. C. A Pre-Text-Item trigger allows the focus unto the text item the first time it is executed, but
subsequent execution raises a FORM_TRIGGER_FAILURE. A Pre-Text-Item trigger on a different text item also fails. D. The Next Navigation Data Block and Previous Navigation Data Block properties of the Orders and
Order_Items blocks have been set so that the focus cannot move to the Inventories block. E. A When-Validate-Item trigger on a text item validates the contents of the wrong field, and you have
coded a GO_ITEM() that sends the focus back to the item that invoked it. F. The Next Navigation Item and Previous Navigation Item properties of some text items have been
20. You are modifying a form that has four buttons on a canvas. Button2, Button3, and Button4 are all sub classed from Button1. You want to change the width of all the buttons, so you open the Property Palette for Button1 and change its width to 60. In the Layout Editor, you can see that all buttons have become smaller except for Button3. You open the Property Palette for Button3 (as shown in the exhibit). Why did the width for Button3 not change to 60? A. B. C. D. E. Button3 was not properly subclassed. Width is a changed property in Button3. Width is a variant property in Button3. Width is a default property in Button3. Width is an inherited property in Button3.
Answer: C 21. What is custom development? Ans: Custom development is new development, In order to provide new functionality , which is not available in Oracle Application, we are going for custom development. 22. What is customization? Ans: Customization is not a new development. The existing form will be modified as per our requirement. This may be cosmetic change or navigation change or functionality change. 23. Compare Custom development & customization. When they are used and Why? Ans: Custom development. New development Template form has to use The required functionality is not provided by oracle in that case we have to go for custom development. Customization. Tailoring the existing application Same source file has to use The existing functionality is not fully satisfy our requirement, Then we are going for customization. 24. What is template form? Ans: Template form is a form, which have standard functionality of the oracle application, like menu bar, tool bar action and some standard trigger. All forms in oracle application will be developed using this form, To get standard appearance oracle application provide this form. 25. What are steps you have to follow to register a Form? Ans: Create the function. Attach the function to a form function Attach the form function to menu. 26. What is a Form function? Ans: Form function is nothing but form. Oracle Apps treats all the forms as function. 27. What is Form sub function? Ans: Sub function is a non-form function. Sub function will created based on form function. By using this we can restrict functionality of the form. 28. How the form sub function is implemented? Ans: By using parameter and profiles. 29. What is folder form? Ans: Folder form is a special form, here the user allow changing the appearance of the form as he/she like. The user can rearrange the fields, resize the fields. This changes will be permanent belongs to the user. 30. Name the directories where you have to copy your Fmb and Fmx files? Ans: All FMB files will be coped in AU_TOP form directory. FMX will be copied to corresponding Prod_Top form directory.
e.x all GL forms fmx will be coped in GL_Top form directory. 31. Why we have to maintain the file names in Capital Letter? ( Library/FMB) Ans: Some of operation system will have case sensitivity; those OS may not be able to get the correct file, for avoiding case sensitivity problem we have to maintain the file name in UPPER case. 32. Can we put all the logic in the trigger? Ans: No, Create a package, put all the logic in package. Call the package from the trigger. 33. What is item handler package? Ans: Item handler package is a package. This package will take care of the item validation, navigation. Each block can have one package with the name of block name. 34. What is event handler package? Ans: Event handler package is a package. This package will take care of the various event of the form, like post query, pre query, when new record instance etc. Each form has event handler package with the name of form name. 35. What is table handler package? Ans: Table handler package is a package. This package will take care of the insert, update and delete operation of view-based block. Each form can have one package with the name of form name. 36. What are the standard libraries available in template form? Ans: 1. APPCORE 2. APPDAYPK 3. FNDSQF 4. CUSTOM 37. What is who column and how can you set the values? Ans: Who columns are database columns, which gives the history of the record. (it will gives created user name with date and last modified user name with date of the record). By using fnd_standard.set_who procedure we can set the value. 38. What is use of custom library? Ans: By using this library we have to do cosmetic and navigation change in form customization. 39. How can you change the default menu bar action? Ans: By using APPCORE library 40. What the APPCORE contains ? Ans: The packages and procedures those are required of all forms to support the menu, Toolbar, and other required standard behaviors. Some APPCORE event routines call routines in the VERT, GLOBE, and CUSTOM libraries APP_COMBO: Combination Block API APP_DATE: Date Conversion APIs APP_EXCEPTION: Exception Processing APIs APP_FIELD: Item Relationship Utilities APP_FIND: Query Find Utilities APP_ITEM: Individual Item Utilities APP_ITEM_PROPERTY: Property Utilities APP_RECORD: Record Utilities
51. When a form is run, which are the triggers fire, and in what sequence they fire? Ans: PRE-FORM WHEN-NEW-FORM-INSTANCE PRE-BLOCK WHEN-NEW-BLOCK-INSTANCE
WHEN-NEW-ITEM-INSTANCE POST-BLOCK, POST-FORM 52. What is the utility used to call the report from the forms? Ans: RUN_REPORT 53. What is a Property Class? Different methods of creating property class? Ans: Property Class is defining properties of objects along with their settings. The property class inheritance allows the user to perform global changes very quickly and efficiently. Methods: Object Navigator Method Properties Window Method 54. WHEN-NEW-FORM trigger written at Form Level, Block Level and Item Level which one will fire first? Ans: The trigger written at the lower level Item Level Fires first. 55. In the previous question circumstance, is it possible to change the order of trigger Execution? If Yes, where it needs to be changed? Ans: Yes, in the trigger property (Before, After, Default)by changing the attributes. 56. Form Registration Steps Ans: Save as the TEMPLATE.fmb as your continent form name such as emp.fmb Delete the BLOCK_NAME, DATA_BLOCK, BLOCK_NAME and BLOCK_NAME in Data Block, Canvas and Window list. Create window, canvas and block in the module and assign the subclass information to properties of them. Change the code in the package of app_custom in the program units. when_window_closed if (wnd = 'window_name') then app_window.close_first_window; end if; when_window_opened if (wnd = 'window_name') then GO_BLOCK('Block_name'); Change the code in the pre_form trigger as bellow app_window.set_window_position('window_name',NULL,'block_name'); Copy the fmb and pll file into AU_TOP/forms/US and AU_TOP/resource directories respectively and compile them. Form ====================== f60gen F20601.fmb Userid=apps/g00g1e mv F20601.fmx /apps/qoedv2/appl_top/xxcpd/11.5.0/forms/US pll ===================== f60gen Module=XXCPDLXPLAVA.pll Module_Type=LIBRARY Userid=apps/g00g1e In front-end application, go to the following path
Application DeveloperApplicationform and create one new record Application DeveloperApplicationFunction create one function and link the form to this function. Application DeveloperApplicationMenu and create the menu and link the function to this menu. 57. Create the messages in Apps. Ans: Go to Application DeveloperApplicationmessage and create one message in the form and run request. Go to Viewrequests, select submit new request Select the Generate Message program and give input parameters for this form. You can access this messages in the form level code as below. Fnd_message.set_name(Application_id, Message_Name) Fnd_message.show. 2. Fnd_message.set_name(Application_id, Message_Name) Fnd_message.set_token(Token_varialbe in the message Dictionary, Value) fnd_message.show. 58. PRE FORM Ans: FND_STANDARD.FORM_INFO($Revision: $, , , $Date: $, $Author: $); APP_STANDARD.EVENT(PRE FORM); APP_WINDOW.SET_WINDOW_POSITION(BLOCKNAME, FIRST_WINDOW); 59. To Code the Zooms into Custom.pll Ans: Open the $AU_TOP/RES/PLSQL/CUSTOM.PLL Code the custom function Zoom_available this function return Boolean we check here the form name and block name and return true. And then code the event procedure here we check for event if it is ZOOM then we check for the form and the block name and using FND_FUNCTION.EXECUTE open the new form fnd_function.execute takes 4 parameters FND_FUNCTION.EXECUTE(FUNCTION_NAME=> , OPEN_FLAG=> , SESSION_FLAG=> , OTHER_PARAMS=> ); 60. Find Window Ans: Copy the query_find object from appsstand.fmb New Button: When-Button-Pressed write this code :- app_find.new(Resultant Block); Find button: When-button-Pressed write this code :- apps_find.new(Resultant Block); 2) Pre-Query trgger at resultant block execution style before if :parameter.g_query_find =TRUE Then Copy(:QF_block.empno,:emp.empno);
Source
, destination App_find.query_range(hiredate_from,hiredate_to,emp.hiredate )
3) Create user defined trigger QUERY_FIND BLOCK level (override) App_find.query_find(Resultant window , find window , find block);
Oracle Forms Technical Interview Question Answers What are the Various Master and Detail Relation ships. The various Master and Detail Relationship are a) NonIsolated = The Master cannot be deleted when a child is existing b) Isolated = The Master can be deleted when the child is existing c) Cascading = The child gets deleted when the Master is deleted. What are the master-detail triggers? On-heck_delete_master On_clear_details On_populate_details These are automatically created when you create MasterDetails block. What are the types of Blocks in Forms? Base Table block - based on database table/views Control Block - non-database items are placed here like Calculation values,buttons,checkbox etc. What are the Various Block Coordination Properties The various Block Coordination Properties are a) Immediate Default Setting. The Detail records are shown when the Master Record are shown. b) Deffered with Auto Query Oracle Forms defer fetching the detail records until the operator navigates to the detail block. c) Deffered with No Auto Query The operator must navigate to the detail block and explicitly execute a query
What are the different windows events activated at runtimes? When_window_activated When_window_closed When_window_deactivated When_window_resized Within this triggers, you can examine the built in system variable system.
event_window to determine the name of the window for which the trigger fired. What are the trigger associated with image items? When-image-activated fires when the operators double clicks on an image itemwhen-image-pressed fires when an operator clicks or double clicks on an image item
What is trigger associated with the timer? When-timer-expired. What is the difference between CALL_FORM, NEW_FORM and OPEN_FORM? CALL_FORM: start a new form and pass control to it. The parent form will be suspended until the called form is terminated. NEW_FORM: terminate the current form and replace it with the indicated new form. The old form's resources (like cursors and locks) will be released. OPEN_FORM: Opens the indicated new form without suspending or replacing the parent form. When a form is invoked with call_form, Does oracle forms issues a save point? Yes
What is new_form built-in? When one form invokes another form by executing new_form oracle form exits the first form and releases its memory before loading the new form calling new form completely replace the first with the second. If there are changes pending in the first form, the operator will be prompted to save them before the new form is loaded. What are visual attributes? Visual attributes are the font, color, pattern proprieties that you set for form and menu objects that appear in your application interface.
Can one issue DDL statements from Forms? DDL (Data Definition Language) commands like CREATE, DROP and ALTER are not directly supported from Forms because your Forms are not suppose to manipulate the database structure. A statement like CREATE TABLE X (A DATE); will result in error: Encountered the symbol "CREATE" which is a reserved word. However, you can use the FORMS_DDL built-in to execute DDL statements. Eg: FORMS_DDL('CREATE TABLE X (A DATE)'); Can one execute dynamic SQL from Forms? Yes, use the FORMS_DDL built-in or call the DBMS_SQL database package from Forms. Eg: FORMS_DDL('INSERT INTO X VALUES (' || col_list || ')'); Just note that FORMS_DDL will force an implicit COMMIT and may desynchronize the Oracle Forms COMMIT mechanism.
What is the difference between the following statements? Form A: Insert into emp(ename) values ('MK Maran'); Form B: FORMS_DDL('insert into emp(ename) values('||''MK Maran')'); User have to commit the form manually for Form A Once the Form B statement executes, it will be implicitly commited.
What are the vbx controls? Vbx control provide a simple method of building and enhancing user interfaces. The controls can use to obtain user inputs and display program outputs.vbx control where originally develop as extensions for the ms visual basic environments and include such items as sliders, rides and knobs. What is the "LOV of Validation" Property of an item? What is the use of it? When LOV for Validation is set to True, Oracle Forms compares the current value of the text item to the values in the first column displayed in the LOV. Whenever the validation event occurs. If the value in the text item matches one of the values in the first column of the LOV, validation succeeds, the LOV is not displayed, and processing continues normally. If the value in the text item does not match one of the values in the first column of the LOV, Oracle Forms displays the LOV and uses the text item value as the search criteria to automatically reduce the list. How do you use the same lov for 2 columns We can use the same lov for 2 columns by passing the return values in global values and using the global values in the code What are the difference between lov & list item? Lov is a property where as list item is an item. A list item can have only one column, lov can have one or more columns What is the difference between static and dynamic lov The static lov contains the predetermined values while the dynamic lov contains values that come at run time What are the different types of Record Groups? Query Record Groups NonQuery Record Groups State Record Groups What are the different display styles of list items? Text_list Pop_list Combo box Can on bypass the Oracle login screen? The first thing that the user sees when using runform is the Oracle logon prompt asking them for their username, password, and database to connect to. You can bypass this screen or customise it by displaying your own logon screen. Eg: ON-LOGIN Form-Level Trigger
declare uname varchar2(10); pass varchar2(10); con_string varchar2(30); begin uname := 'scott'; pass :='tiger'; con_string='orcl'; logon(uname, pass||'@'||con_string); end; What are parameters? Parameters provide a simple mechanism for defining and setting the valuesof inputs that are required by a form at startup. Form parameters are variables of type char,number,date that you define at design time. What are difference between post database commit and post-form commit? Post-form commit fires once during the post and commit transactions process, after the database commit occurs. The post-form-commit trigger fires after inserts, updates and deletes have been posted to the database but before the transactions have been finalized in the issuing the command. The post-database-commit trigger fires after oracle forms issues the commit to finalized transactions. Can one Maximize/ Minimize a Window in Forms? On MS-Windows, Forms run inside a Windows Multiple-Document Interface (MDI) window. You can use SET_WINDOW_PROPERTY on the window called FORMS_MDI_WINDOW to resize this MDI (or any other named) window. Examples: set_window_property(FORMS_MDI_WINDOW, WINDOW_STATE, MINIMIZE); set_window_property(FORMS_MDI_WINDOW, POSITION, 7, 15); set_window_property('my_window_name', WINDOW_STATE, MAXIMIZE); What are the different modals of windows? Modalless windows Modal windows What are modal windows? Modal windows are usually used as dialogs, and have restricted functionality compared to modelless windows. On some platforms for example operators cannot resize, scroll or iconify a modal window.