09-29-2008 12:47 PM
Hello All,
Could you please give the difference in the following two statements:
Leave to screen 9000
Call screen 9000.
Your help would be appreciated.
Thanks in advance,
Regards,
Anju
09-29-2008 12:48 PM
Leave to screen 9000 You cannot come back to the called screen when you hit back
Call screen 9000.
You cancome back to the called screen when you hit back
santhosh
09-29-2008 12:57 PM
Hi,
Call Screen
Calling a single screen is a special case of embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely, you can use the CALL SCREEN statement with the STARTING AT and ENDING AT
CALL SCREEN 9000.
CALL SCREEN 9000 STARTING AT 10 10 ENDING AT 20 20.
LEAVE SCREEN
statement ends the current screen and calls the subsequent screen.
LEAVE SCREEN.
LEAVE TO SCREEN 9000.
Hope it will helps
09-29-2008 2:16 PM
Hi,
Call Screen
Usually used for pop up screens. Many times, there is a need for user to enter additional information or secondary information on another screen or pop up screen. Once the user enters the data, he should be able to go back to main screen or to the screen where he started. This is not possible by using SET SCREEN. CALL SCREEN achieves this functionality.
Syntax
Call Screen 200.
Will simply call a screen number 200 from a main screen. Once the screen is displayed the user can enter all the data and return to the main screen by clicking BACK button.
Leave to screen
To SET a new screen without processing current screen:
LEAVE TO SCREEN 200.
Regards,
Bhaskar
09-29-2008 2:42 PM
Hi anju,
CALL SCREEN 1000 calls the screen number 1000 from main screen and it will be back to main screen when you wish to come back.
LEAVET TO SCREEN 1000 calls the screen number 1000 and it wont come back to main screen if you want to come back.
It leaves current screen and calls to next screen 1000.
Thanks,
Surendra babu vemula
10-13-2008 10:31 AM
10-13-2008 10:58 AM