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

Making Table control fields input enabled

Former Member
0 Likes
422

Hi,

I have a screen , it has table control along other fields. If the user does not enter any data in the table control, i have to raise error message and i have to make table control input enabled.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
398

Hi,

Try to put your error message statement withing Chain .. endchain.

Regards,

Devendra

Read only

Former Member
0 Likes
398

in the PAI within the LOOP and ENDLOOP of table control.

DECLARE

CHAIN

FIELDS <all row fields of the table control>

MODULE check_empty_fields.

ENDCHAIN.

withthin this module put the code:

MODULE check_empty_fields.

IF <Your table control field 1> IS INITIAL

AND <Your table control field 2> IS INITIAL

AND ...list all fields.

message 'Your message type <b>E</b> .

ENDIF.

ENDMODULE.

Regards,

A.Singh