Home » Developer & Programmer » Forms » No navigable items in destination block (Oracle Forms 11g)
No navigable items in destination block [message #601499] Thu, 21 November 2013 08:40 Go to next message
metal_navin
Messages: 21
Registered: February 2013
Junior Member
Good day.
I am getting the "No navigable items in destination block" error message on a form I am working on.

This form,"DETAILS" is being called by a main form called "CUSTOMERS". I access the "DETAILS" form by calling the form on a when-button-pressed trigger in the "CUSTOMERS" form.

Now, whenever I press the custom exit form button in the "DETAILS" form, which uses the code 'exit_form', I am getting the "No navigable items in destination block" error message in the main form "CUSTOMERS".

In the details form, there is no GO_BLOCK method. Can anyone please assist with this issue?

Thank you.
Re: No navigable items in destination block [message #601500 is a reply to message #601499] Thu, 21 November 2013 08:47 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
If you're getting the error in customers then it will be because of code in customers, probably whatever is after the code that calls details.
Code in details is irrelevant.
Re: No navigable items in destination block [message #601506 is a reply to message #601500] Thu, 21 November 2013 12:15 Go to previous messageGo to next message
metal_navin
Messages: 21
Registered: February 2013
Junior Member
Below is the code used in the when button pressed trigger to call the "DETAILS" form. Is anything wrong here?

:global.u_cust_code := :cust_code;
:global.u_prem_code := :premises_key;  
:global.calling_form := 'CUSTOMERS';  
call_form('DETAILS');
Re: No navigable items in destination block [message #601514 is a reply to message #601506] Thu, 21 November 2013 14:42 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
How many blocks are there in the CUSTOMERS form? If more than one, what is the first block (i.e. the topmost one you see in Object Navigator)? If it is some control block with invisible or Display type items, that might be a reason , i.e. when you return, navigation goes to the first block's first enabled item. If there's none - it fails.
Re: No navigable items in destination block [message #601519 is a reply to message #601514] Thu, 21 November 2013 14:59 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
navigation should stay in the button I believe, unless there's other code to send it elsewhere.
Re: No navigable items in destination block [message #601521 is a reply to message #601519] Thu, 21 November 2013 15:38 Go to previous messageGo to next message
metal_navin
Messages: 21
Registered: February 2013
Junior Member
cookiemonster,
so i should put navigation in the quit button on details form?
Re: No navigable items in destination block [message #601524 is a reply to message #601521] Thu, 21 November 2013 16:05 Go to previous message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
As I said before, code in the detail form is irrelevant. The relevant code has to be in the same form that shows the error.
Previous Topic: Calendar Object [merged 2 by jd]
Next Topic: How to populate a Form
Goto Forum:
  


Current Time: Thu Apr 25 21:49:59 CDT 2024