Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  


Missing Records in Crystal Report when dynamically placing field
If you place a field (using Left & Top) OUTSIDE of the section's height (such as below it), the section will automatically 'grow' to show your field. HOWEVER, the section's internal variable 'Height' is NOT automatically updated, throwing off page counts, record numbers, and causing missing records or inability to go to certain pages.

To fix this, whenever you move or change the size of a field, MAKE SURE the field is still within the section's boundaries - otherwise, manually resize the section:
reportDocument1.ReportDefinition.Sections[sectionIndex].Height = newHeight;

Created By: amos 1/25/2006 10:05:47 PM