Enter Query Mode Search Tricks Using Enter_Query Built-in in Oracle Forms
2016-12-25 00:42
1001 查看
[align=left] In this post you will learn how to specify any condition in enter query mode of Oracle Forms[/b]. Whenever Enter_Query command executes Oracle Forms comes into enter query mode and in that mode you can specify some criteria to filter the records and after that when you execute query using Execute_Query command then the records would be fetched based on that condition you specified.[/align]
Enter_Query built-in usage example:
[align=justify]The below is the screen shot from which records would be filtered in this example.[/align]
[align=justify]Note you can specify the search condition only when Oracle Forms is in Enter Query Mode[/b]. The following are some search criteria examples:[/align]
[align=justify]Result:[/align]
[align=justify]Result:[/align]
[align=justify]Result[/align]
[align=justify]Results:[/align]
Result:
Enter_Query built-in usage example:
Begin Go_Block('yourblock'); Enter_Query; End;
[align=justify]The below is the screen shot from which records would be filtered in this example.[/align]
[align=justify]Note you can specify the search condition only when Oracle Forms is in Enter Query Mode[/b]. The following are some search criteria examples:[/align]
Search only those records where Emp Name containing AR
[align=justify]Specify %AR% in Emp Name column to fetch the records where AR exists in Emp Name.[/align][align=justify]Result:[/align]
Search only those records where second letter of Emp Name is L
[align=justify]Specify one underscore for first any letter and then L% eg. _L%[/align][align=justify]Result:[/align]
Search only those records where Hire Date is greater than 01st Oct 2015
[align=justify]Specify greater than sign and the date in single quotes:[/align][align=justify]Result[/align]
Search only those records where Salary is greater than 5000
[align=justify]Specify greater than sign and the value eg. > 5000[/align][align=justify]Results:[/align]
Search only those where Job is equal to CLERK and Salary is less than 4000
[align=justify]Specify CLERK in job column and less than sign and the value in Salary column You can also specify = sign and value in single quote in Job column eg. ='CLERK' [/align]Result:
相关文章推荐
- An Example of Pre-Query and Post-Query Triggers in Oracle Forms With Using Display_Item to Highlight Dynamically
- Using Post_Query Trigger in Oracle Forms
- Define Custom Data Filter Using Pre-Query Trigger In Oracle Forms
- Using Single Alert For Messages And Confirmation Messages In Oracle Forms With Set_Alert_Button_Property
- If Value Exists Then Query Else Allow Create New in Oracle Forms An Example
- Using GET_GROUP_SELECTION For Record Groups in Oracle Forms
- Populating Tabular Data Block Manually Using Cursor in Oracle Forms
- Populate A List Item With Record Group In Oracle Forms Using Populate_List And Create_Group_From_Query Command
- Know How To Use ID_NULL Function To Search An Object In Oracle Forms
- Quick Trick About Using Dbms_Metadata With Forms_DDL In Oracle Forms
- Populate A List Item With Record Group In Oracle Forms Using Populate_List And Create_Group_From_Query Command
- Create Data Block Based On From Clause Query In Oracle Forms
- Change An Item Property Using Set_Item_Property In Oracle Forms
- Display LOV (List Of Values) Using Show_Lov In Oracle Forms
- Query Recommendation using Query Log in Search Engines
- Perform Cut Copy Paste Operations Using Cut_Region Copy_Region Paste_Region Commands In Oracle Forms
- Change Or Set Report Object Property At Run Time In Oracle Forms Using Set_Report_Object_Property Command
- Using Post-Form Trigger In Oracle Forms
- An Example Of Validating Text Item In Oracle Forms Using When-Validate-Item Trigger
- Freebie - Utility Form: Generate Excel Report From SQL Query In Oracle Forms 6i And 11g