Application Development 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: 

reg: how to lock the input field dynamically

Former Member
0 Kudos

hello guyz,

In dialog programming, I've designed an input field. If the input is valid then I've to lock the entry field.

Could you please tell me how can I lock the entry field.

thanks ,

karthikeyan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

Check this code

loop at screen.

if screen-name eq 'FIELD'.

screen-input = 0.

modify screen.

endif.

endloop.

Regards

Gregory

Message was edited by:

Gregory Gotera

5 REPLIES 5

Former Member
0 Kudos

HI,

Use this logic.

Validate ur field.

if valid.

loop at screen.

if screen-element = 'Yourfiled'.

screen-input = 0.

modify screen.

endif.

endloop.

0 Kudos

i did try this logic before but ain't working,,,

thanks anyways...

Former Member
0 Kudos

hi

Check this code

loop at screen.

if screen-name eq 'FIELD'.

screen-input = 0.

modify screen.

endif.

endloop.

Regards

Gregory

Message was edited by:

Gregory Gotera

0 Kudos

thanks Gregory..

I did use screen-name eq 'field'.

Former Member
0 Kudos

Hope you have mentioned the field name in caps. e.g. FIELD

Thanks,

SKJ