码迷,mamicode.com
首页 > 数据库 > 详细

Create Data Block Based On From Clause Query In Oracle Forms

时间:2016-12-25 01:42:38      阅读:305      评论:0      收藏:0      [点我收藏+]

标签:int   href   primary   rds   ott   check   name   技术分享   etc   

Example is given below to create a data block based on From Clause query in Oracle Forms. The following are the steps:

 

Create a data block manually and set the following properties:

 

技术分享

 

You can specify different query as per your need.

 

Then create the items in that block as shown below (or create as per your need):

 

技术分享

 

Note: Item names should match with the column name you specified in From Clause Query.

 

Set the property of each item (textitem, listitem etc) as shown below:

 

技术分享

 

Note: For From Clause Query block on item should be set as Primary Key, check the example is given below:

 

Then set the Primary Key for EmpNo field as shown in below example:

 

技术分享

 

Now you can run the form and execute query to display the records as shown below, you can download this form formclause.fmb from the following link FromClause.FMB:

 

技术分享

 

Create Data Block Based On From Clause Query In Oracle Forms

标签:int   href   primary   rds   ott   check   name   技术分享   etc   

原文地址:http://www.cnblogs.com/quanweiru/p/6218848.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!