‎2009 May 07 9:29 AM
Hi,
I have a dialog program which has 3 transactions for 3 screens.All the screens have the same structure, the only difference is that, on the first screen the user can create the record, on second the user can change the data and the third one is for display only.The screen contains a tabstrip , in one of the tabs there is a table control.The table cotrol has been created using the wizard. Now I am facing few problems with the table control:
1.On the create screen when the user enters the data in the table control and presses the enter the rest of the table control gets disabled and the user cant enter any more rows.Though I want when the user presses enter, in the serial No. field the next no. should be generated on its own.
2.In the change screen the user can see only those lines in the table control in editable mode whic were created by the user. Rest of the lines are disabled and the user can not add more lines.
Please suggest the solution to these problems.
‎2009 May 07 9:30 AM
‎2009 May 07 9:32 AM
Hi,
If certain screen fields in the table control needs to be disabled, find the fields which needs to be disabled and then in PBO do the logic.
loop at screen.
if screen-name eq 'ITAB-FIELD1'.
screen-input = 0.
modify screen.
endif.
endloop.