Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

screen programming

naveen_inuganti2
Active Contributor
0 Likes
457

Hi Experts....

I developed one screen with screen programming... in that one my screens contains.....

2 input fields.... so after entering vaules into that and push the caluclate button on screen i will get list of output....

this is the working of that screen simply....

here my problem is....

if i enter A for first field and B for second field....and i push button of caluculation...i will get one information message( in perticuler condition like dont enter A for fist field)....

and if i give enter command to that message i will be back to my original screen ..., but with out value which i entered earlier..... i want to keep them on screen.....

for example with above error message there is no need to change value for second field....even then iam lossing every input value....

Finally my quetion is i want to keep all the values which i manually enter in my screen ...even i will any wrong command later....

please reply with code...

Thank you,

Naveen..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
437

hi naveen,

define input fields in program,

data : input1 like ...

input2 like ....

in the screen painter follow the menu springen ( its german, third from left ) --> second window --> dict/programfield,

in the popup type input1 to "table/field name" area push button "Get from Program"

choose the field,

and paste to screen...

it wont be deleted anymore...

regards,

burak

3 REPLIES 3
Read only

Former Member
0 Likes
438

hi naveen,

define input fields in program,

data : input1 like ...

input2 like ....

in the screen painter follow the menu springen ( its german, third from left ) --> second window --> dict/programfield,

in the popup type input1 to "table/field name" area push button "Get from Program"

choose the field,

and paste to screen...

it wont be deleted anymore...

regards,

burak

Read only

naveen_inuganti2
Active Contributor
0 Likes
437

Hi all....

Please try to understand my requirement...

I working with dailog programs....

In one my screen iam having two input fields...

Both are not related to any database or customized tables...

here if i enter any values in these two fields and press one of push button of this screen....it has to go to next screen.... but some times it has to give one info' message....

Here my problem is if i got that message and click continue to rectify or to leave that message....i am coming back to my screen...."WITH OUT HAVING MY ENTRIES"...so here again i need to enter the values for these two fields....

I want to avoid this problem.....the values which i entered has to keep there even after info' message.....

Hope you under stand.....

Expect max marks....

Thank You,

Naveen.

Read only

0 Likes
437

Doesn't matter that they are not in a DB Table.

As he suggested use the "FROM PROGRAM" option. It will pick up the fields (and their attributes) from the program definition.