February 09, 2009

Part-23

What is relation between the window and canvas views? -
Canvas views are the back ground objects on which you place the interface items (Text items), check boxes, radio groups etc.,) and boilerplate objects (boxes, lines, images etc.,) that operators interact with us they run your form . Each canvas views displayed in a window.


What is a User_exit? -
Calls the user exit named in the user_exit_string. Invokes a 3Gl program by name which has been properly linked into your current oracle forms executable.


How is it possible to select generate a select set for the query in the query property sheet? -
By using the tables/columns button and then specifying the table and the column names.


How can values be passed between precompiler exits & Oracle call interface? - By using the statement EXECIAFGET & EXECIAFPUT.


How can a square be drawn in the layout editor of the report writer? - By using the rectangle tool while pressing the (Constraint) key.


How can a text file be attached to a report while creating in the report writer? - By using the link file property in the layout boiler plate property sheet.


How can I message to passed to the user from reports? - By using SRW.MESSAGE function.


How is possible to restrict the user to a list of values while entering values for parameters? - By setting the Restrict To List property to true in the parameter property sheet.


How can a button be used in a report to give a drill down facility? - By setting the action associated with button to Execute pl/SQL option and using the SRW.Run_report function.


How can a cross product be created? - By selecting the cross products tool and drawing a new group surrounding the base group of the cross products.


What are different types of images? - Boiler plate images, Image Items


What is the difference between boiler plat images and image items? -
Boiler plate Images are static images (Either vector or bit map) that you import from the file system or database to use a graphical elements in your form, such as company logos and maps. Image items are special types of interface controls that store and display either vector or bitmap images. Like other items that store values, image items can be either base table items (items that relate directly to database columns) or control items. The definition of an image item is stored as part of the form module FMB and FMX files, but no image file is actually associated with an image item until the item is populate at run time.


What is bind reference and how can it be created? -
Bind reference are used to replace the single value in sql, pl/sql statements a bind reference can be created using a (:) before a column or a parameter name.


What are the triggers available in the reports? - Before report, Before form, After form , Between page, After report.


Give the sequence of execution of the various report triggers? - Before form , After form , Before report, Between page, After report.


Why is a Where clause faster than a group filter or a format trigger? - Because in a where clause the condition is applied during data retrieval, then after retrieving the data.

0 comments: