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

problem with table control

Former Member
0 Likes
497

Hi i have enabled multiple selection option in table control.Now i have some records in table control.In PAI i have raised an error message if user do not select any record from table control.If you do not select any record and press submit button, i got an error message aftr that i am not able to select the record. Cursor is not going to tabl econtrol.

1 ACCEPTED SOLUTION
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
471

Hi,

Its better to follow : if no records are selected and user clicks SUBMIT button, then display a warning message, instead of error message.

MESSAGE 'No Record(s) Selected' TYPE 'W'.

Hope this helps you.

Regards,

Tarun

3 REPLIES 3
Read only

Former Member
0 Likes
471

hi

raise a warning message instaead of error , but display like i .

if user not selected any line,

message 'info' display like e.

flag = 'x'.

endif.

then

when user clicks submit,

check flag is initial" means user should select a line.

then dispaly the message again.

set cusror in the table control.

regards,

Ramya

Read only

Former Member
0 Likes
471

Use message:


If not selected.
MESSAGE 'XXXX' type 'S' Display like 'E'.
ENDIF.

Regards,

Gurpreet

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
472

Hi,

Its better to follow : if no records are selected and user clicks SUBMIT button, then display a warning message, instead of error message.

MESSAGE 'No Record(s) Selected' TYPE 'W'.

Hope this helps you.

Regards,

Tarun