Suppose you want to scan a tabular grid block (loop through all records in detail block) from top to bottom in Oracle forms. You can do this task by using :system.last_record system variable to determine whether it is last record in a block and then…
In this tutorial you will learn to create horizontal scrollable tabular or detail data block by using stacked canvas in Oracle Forms. As shown in below picture the first column Empno is fixed and middle columns Ename, Job, Mgr and Hiredate are scroll…
In this tutorial you will learn to copy the records from one data block to another data block on same form and on a same canvas in Oracle Forms. Below is the screen shot of the form and you can download this form for your reference from the following…
Suppose you want to populate a non-database data block with records manually in Oracle forms. This task can be done using a cursor.   Below is the example given for hr.job_history table, where user input the employee id in upper block and click on th…
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 it…
BW数据库后台报错如下:F:\oracle\SBP\saptrace\diag\rdbms\sbp\sbp\trace ORA-01578: ORACLE data block corrupted (file # 29, block # 2889087)ORA-01110: data file 29: 'G:\ORACLE\SBP\SAPDATA2\SR3_18\SR3.DATA18'ORA-26040: Data block was loaded using the NOLOGGING opt…
警告日志中发现如下报错信息: ORA-01578: ORACLE data block corrupted (file # 3, block # 1675)ORA-01110: data file 3: '/u01/app/oracle/oradata/PROD1/undotbs01.dbf' 报错提示为:undo表空间第1675个数据块出现损坏. 解决方法: 1.创建新的undo表空间undotbs2 SQL> create undo tablespace UNDOTBS2 datafile…
Suppose you want to check the user permissions on inserting or updating the records in Oracle Forms, then you can use Pre-Insert and Pre-Update triggers for that particular data block to check whether user is having proper permission or not.   The ex…
Download Source Code Providing an example form for creating hierarchical trees in Oracle Forms to control data block records. In this form whenever user selects any node in tree menu then corresponding record is displayed at right side.   This form i…
1.block在俩个UIViewController间传值 近期刚学了几招block 的高级使用方法,事实上就是利用block语法在俩个UIViewController之间传值,在这里分享给刚開始学习的人,同一时候也方便我自己理解. 我们知道UINavigationController类管理UIViewController的时候,利用的是"栈"的思想,在这里不做过多解释,切入正题.如果我们如今有俩个UIViewController,viewC1和viewC2.viewC1比viewC2…