Search on this Website

Wednesday, June 13, 2007

Hide a column in a table control at runtime

1. define group name(s) for the columns to be hidden

2. Add the following code...
controls tbl_ctrl type tableview ...
wa like tbl_ctrl-cols.
loop at tbl_ctrl-cols into wa.
if wa-screen-group1 =
wa-invisible = 1.
modify tbl_ctrl-cols from wa

Other Useful Link :
Modify recording scenario
change attributes of an item in a screen and in a table control at runtime
Create F4 help
Dialog Programming FAQ
Download Dialog programming Tutorial

No comments: