Create_record oracle forms

这一生的挚爱 提交于 2019-12-13 03:46:35

问题


I have a multi-record block and what I wanted is to fire insert record after leaving a record (going up or down).

I tried to put create_record in WHEN-VALIDATE-RECORD but it say that its an illegal restricted procedure.

How can I do create_record in WHEN-VALIDATE-RECORD? Do I need a procedure/timer? Please show me how. Thanks!


回答1:


You might use WHEN-NEW-RECORD-INSTANCE trigger, where using create_record built-in is not restricted , at that mentioned multiple-record block level instead of WHEN-VALIDATE-RECORD in which using is restricted.




回答2:


You can also use the key-triggers to accomplish this. So if you make the following triggers:

key-down     -> down arrow
key-up       -> up arrow
key-nxtrec   -> next record key
key-prvrec   -> previous record key


来源:https://stackoverflow.com/questions/50901744/create-record-oracle-forms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!