08-07-2007 6:08 PM
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
08-07-2007 6:24 PM
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
08-07-2007 6:15 PM
HI,
Use this logic.
Validate ur field.
if valid.
loop at screen.
if screen-element = 'Yourfiled'.
screen-input = 0.
modify screen.
endif.
endloop.
08-07-2007 6:24 PM
i did try this logic before but ain't working,,,
thanks anyways...
08-07-2007 6:24 PM
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
08-07-2007 6:28 PM
08-07-2007 7:04 PM
Hope you have mentioned the field name in caps. e.g. FIELD
Thanks,
SKJ