工具栏画布的显示
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/