Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Go_block when no visible (and navigable) items.

815857Nov 17 2010 — edited Nov 18 2010
Hi guys.
I am working on forms 6i and I have a question.

I have a datablock, manually populated behind the scene (not based on database table).
This one can be used with items displayed in a canva when a specific button is pressed.
In that case, fields are prepopulated and user can update one of them.
This is the case when the block has some visible items.

In another case, we want to populate all the values behind the scene, and then we do not want to show anything from that block to the user.
In this specific case, in order to populate the Datablock from the procedure, I need to go_block into this block.
There is a problem is that there is no visible items to go to, and the block is not reached, I received the forms error: FRM-40106: No navigable items in destination block.

I tried to create a work around with a fake item, visible, with no style and empty, then I can reach the block, but the cursor in blinking in this "empty" area, which can confuse the user. However, this enables me to reach the data block and do what I want on it in the procedures.

EDIT: I have just made the height and size to 0, and it looks like not the item is completely invisible to the user.

However, I am still wondering : do you know if there is an easy solution to access a datablock in order to populate it (in procedures, with assignations, and "next" function to access the next records) when there is no visible items?
And if not, why there is such a restriction to access a block with not visible item?

Thanks a lot for your help.
Have a good day.

Edited by: user12069984 on 17-Nov-2010 19:34
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2010
Added on Nov 17 2010
6 comments
2,122 views