thanks, but it still only hides the first row of invisible fields.// I copied and pasted this into the button. // its location on the Hierarchy = form1.Main.b.Exit// Main.Links2.Tbl.Row1.Edit = this is the Hierachy // Main.Links2.Tbl.Row1.DEdit= this is the Hierachy for (var i=0;i<form1.Main....