Home » Developer & Programmer » Forms » how to go back to previous block? (oracle 10g)
how to go back to previous block? [message #544385] Tue, 21 February 2012 08:04 Go to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
Hi, I'm making a menu in my form, wherein it has FILE, TRANSACTION and REPORT. Under FILE it has BACK, and LOGOUT. In my back menu item, i want to go back to the previous block or previous module. I used previous_block but it's not working in some of my blocks.
Re: how to go back to previous block? [message #544388 is a reply to message #544385] Tue, 21 February 2012 08:11 Go to previous messageGo to next message
cookiemonster
Messages: 11285
Registered: September 2008
Location: Rainy Manchester
Senior Member
Have you read the form builder help topic on previous_block?
That tells you exactly what it does.
Re: how to go back to previous block? [message #544390 is a reply to message #544388] Tue, 21 February 2012 08:29 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
yup i read that already, I have navigable items on my blocks. I don't know it wouldn't go back to previous block
Re: how to go back to previous block? [message #544393 is a reply to message #544390] Tue, 21 February 2012 08:48 Go to previous messageGo to next message
cookiemonster
Messages: 11285
Registered: September 2008
Location: Rainy Manchester
Senior Member
Do you have the "previous navigation data block" property set on any of the blocks?
Re: how to go back to previous block? [message #544398 is a reply to message #544393] Tue, 21 February 2012 09:04 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
yes i do.
Re: how to go back to previous block? [message #544400 is a reply to message #544398] Tue, 21 February 2012 09:05 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
according to my source: i have to put in POST-BLOCK trigger
and the code is like this
BEGIN
GET_BLOCK_PROPERTY(trim(:SYSTEM.cursor_block),PREVIOUS_NAVIGATION_BLOCK); 
:global.last_block := :system.current_block; 
END;
Re: how to go back to previous block? [message #544406 is a reply to message #544400] Tue, 21 February 2012 09:17 Go to previous messageGo to next message
cookiemonster
Messages: 11285
Registered: September 2008
Location: Rainy Manchester
Senior Member
That code won't compile. Not sure what you are trying to do with it.
Re: how to go back to previous block? [message #544412 is a reply to message #544406] Tue, 21 February 2012 09:31 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
'coz I've got many modules on, each module has many blocks, and i want my menu to have a globally-enabled back item.
Re: how to go back to previous block? [message #544416 is a reply to message #544412] Tue, 21 February 2012 09:38 Go to previous message
cookiemonster
Messages: 11285
Registered: September 2008
Location: Rainy Manchester
Senior Member
That doesn't really answer my question.
Previous Topic: my form is not displaying
Next Topic: Unable to open form which is created in anthor PC
Goto Forum:
  


Current Time: Fri Dec 19 04:26:43 CST 2014

Total time taken to generate the page: 0.17334 seconds