I have a tab control called EmployeeMaint.
Contained within are several individual tab pages.
I wish to be able to manipulate the pages so that depending on some data item (WS-COMP-ID) various 'pages' are either visible or not when the tab control displays for the first time.
eg. if ws-comp-id = 'fred'
make tabpage 'fred1' invisible
else
if ws-comp-id = 'joe'
make tabpage 'joe1' invisible
end-if.
Whats the code to do this?




