Home » Developer & Programmer » Forms » Returning to different block
Returning to different block [message #147061] Tue, 15 November 2005 10:10 Go to next message
orahugo
Messages: 32
Registered: October 2005
Location: England
Member
Hello,

I have two blocks (lets call them A and B) that both use the same block (block C) to pass data into.

However, when I close block C, I want to return back to the block from which I came from. For example, if I go from block A to C, I want to return to block A when I click the close button on block C.

Is there anyway of doing this without putting more buttons in?

Many thanks.
Re: Returning to different block [message #147068 is a reply to message #147061] Tue, 15 November 2005 12:12 Go to previous message
sachinjainonweb
Messages: 24
Registered: October 2005
Junior Member
Hi

In POST-BLOCK of both A&B write
:global.curr_block:=:system.trigger_block;

and On when button pressed
go_block(:global.curr_block);


Luck Always

Previous Topic: Regarding WHEN_VALIDATE_ITEM TRIGGER
Next Topic: query is not executing in forms side
Goto Forum:
  


Current Time: Fri Sep 20 04:30:20 CDT 2024