Enter Query Mode Search Tricks Using Enter_Query Built-in in Oracle Forms

In this post you will learn how to specify any condition in enter query mode of Oracle Forms. 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.

Enter_Query built-in usage example:

The below is the screen shot from which records would be filtered in this example.
using enter_query command in oracle forms
Note you can specify the search condition only when Oracle Forms is in Enter Query Mode. The following are some search criteria examples:

Search only those records where Emp Name containing AR

Specify %AR% in Emp Name column to fetch the records where AR exists in Emp Name.
filter name field in enter query mode of oracle forms
Result:
oracle forms enter_query example

Search only those records where second letter of Emp Name is L

Specify one underscore for first any letter and then L% eg. _L%
enter_query tricks in oracle forms
Result:
how to specify condition in enter query mode in oracle forms

Search only those records where Hire Date is greater than 01st Oct 2015

Specify greater than sign and the date in single quotes:
specify criteria in enter query mode of oracle forms
Result
oracle forms enter_query built-in example

Search only those records where Salary is greater than 5000

Specify greater than sign and the value eg. > 5000
how to use enter query in oracle forms
Results:
oracle forms enter query mode example

Search only those where Job is equal to CLERK and Salary is less than 4000

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'
search records in data block in oracle forms
Result:
specify condition in data block in oracle forms
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值