How dynamically change data source field properties

Example:
myTable_ds.object( fieldNum( myTable, myField ) ).visible( false );