on 06-16-2008 8:07 AM
how to insert default values for the rows of table control which updates a Ztable? i want the values 01 to 12 in the each row for a particular column named 'Month' !
T015M table name to get months numbers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Try the below code in PBO
loop at TB_demo
with control TAB_CTL
cursor TAB_CTL-current_line.
module TAB_CTL_get_lines.
endloop.
:
:
:
:
module TAB_CTL_get_lines output.
TB_demo-field1 = '01'.
TB_demo-field2 = '02'.
MODIFY TB_demo INDEX TAB_CTL-current_line.
endmodule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
explain clearly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi..
i hav a tablecontrol. when user enters data online and click 'save', it wil save into database (new ztable). The user does not fill all the columns and rows in the tablecontrol. Certain columns are filled by us; like for example month. The Column month should have default values from 01 to 12 (ie.Jan to Dec) in the Tablecontrol in disabled mode. So that user need not type those values again and again for every time.
For that purpose, i want to display the values 01 to 12, one by one in the column of table control.
So how to set the values by default?
Hope its very clear!!
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.