... o:lHide := .t. }, 8 ) <other settings> oBrw:CreateFromCode() Button Action: if nSchicht == 1 oBrw:ReArrangeCols( { 1, 2, 3, 4, 5, 6, 7 } ) elseif nSchicht == 2 oBrw:ReArrangeCols( { 1, 2, 3, 4, 8, 9, 10 } ) else oBrw:ReArrangeCols( { 1, 2, 3, 4, 11,12,13 } ) endif