‎2008 Apr 16 5:24 PM
hi,
How to get default values on module pool program screen ?
thanks in advance .
‎2008 Apr 16 5:27 PM
You can use DYNP_VALUES_UPDATE to update field in a screen.
Greetings,
Blag.
‎2008 Apr 16 5:28 PM
‎2008 Apr 16 6:28 PM
Hi,
write one module in PBO like,
MODULE Initialization.inside this module write the code for default value
MODULE Initialization.
name = 'A'.
AGE = '21'.
ENDMODULE.cheers
shibu
‎2008 Apr 16 6:47 PM
Hi,
This is not working .
Where we have to initialize, inside PBO or outside PBO ?
Pls explain in detail .
Edited by: Kaladhar Reddy on Apr 16, 2008 8:11 PM
‎2008 Apr 16 7:19 PM
Hi Kaladhar,
You can default the screen field values in the PAI of the previous screen where you are calling the next screen.
Say you have screen 1000 and 2000. You want to default screen fields of screen 2000, Then u need to initialize your fields in PAI of screen 1000 and then call screen 2000.
Initialize screen fields.
SET SCREEN 2000.
LEAVE SCREEN.
If it is your first screen, then do it before do CALL SCREEN 1000.
Initializing fields in PBO wouldnt work as every time you change something, it will default back to the original value.
Reward points if helpful.