学习forms 中碰见的几个问题

工具栏画布的显示

get_application_property

for 循环的计数器可以不声明就使用.

[@more@]

我在一个form里面同时用了一个内容画布, 一个工具栏,可是运行的时候只能显示工具栏,能不能让两个画布同时显示?

Set the properties in window properties


GET_APPLICATION_PROPERTY Built-in

Description Returns information about the current Oracle Forms application. You must call the built-in once for each value you want to retrieve.

declare

cursor dept_cursor is select * from departments;

i int :=1;

begin

for dept_record in dept_cursor loop

add_list_element('emps.department_id', i, dept_record.department_name, dept_record.department_id);

i:=i+1;

end loop;

end;

这里的dept_record 没有被声明为什么还可以使用?

cursor dept_cursor is select * from departments;

已經將dept_record隱式聲明了

for循环中的第一个变量可以不要声明的,它的类型和in之后的变量类型一样

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/226700/viewspace-838460/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/226700/viewspace-838460/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值