Auto fit is on. xfa.layout.relayout() did not solve the problem either.Here is the form. The Subform that is having the problem is labeled DataSet.If it is initially set to hidden the Subform DataSet will not repeat.If it is initially set to visible the Subform DataSet works the way I want it to....