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

Disabling table control select button and seting focus on field

Former Member
0 Likes
1,004

hi experts,

Am working on Module pool i need sum help.

1) I have created table control in on screen 200 with selection button using table controil wizard.

depend on the one field value i want to disable user selection for that particular record.

ex.

there are 5 record in control then user can select one record at a time n that value will pass to another screen.

but if status field value is ICON_LOCKED then user cant select that particular record.

2) on screen 100 am having 10 fileds n validating all thefileds.

for all 10 fields i have written " field gpart module check bp on input " in PAI of 100.

as soon as user enter wrong value i want show error message n focus cursor on that particular field for input.

kindly help as soon as possible am in need.

thx in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
635

Hi,

1) you can take a look at the CXTAB_CONTROL structure for all the options

u can use with table control..

I think u can use tablecontroname-LINE_SEL_MODE = '0' to lock the

selection but not aware of disabling selction of particular line..

u have to make the changes in the pbo of the table control..

2)to focus cursor you have to use SET CURSOR command.

Hi,

1) you can take a look at the CXTAB_CONTROL structure for all the options

u can use with table control..

I think u can use tablecontroname-LINE_SEL_MODE = '0' to lock the

selection but not aware of disabling selction of particular line..

u have to make the changes in the pbo of the table control..

2)to focus cursor you have to use SET CURSOR command.

1 REPLY 1
Read only

Former Member
0 Likes
636

Hi,

1) you can take a look at the CXTAB_CONTROL structure for all the options

u can use with table control..

I think u can use tablecontroname-LINE_SEL_MODE = '0' to lock the

selection but not aware of disabling selction of particular line..

u have to make the changes in the pbo of the table control..

2)to focus cursor you have to use SET CURSOR command.