I have a Printing Problem in the DMax field of a Report. In my Report Header I have a text box [Updated Date] with a DMax formula: =DMax("[DateCompleted]","qryIndEmployeeCompDelReq","[EmployeeID]=[Forms]![frmSelect Individual Name Trng Recd]![cboEmployeeID]". When I open the Report using the Form, the date is displayed when viewed on the Screen, Short Date format: 5/22/2003. No problem. However, if there are two pages on the report, the 1st page displays the date correctly, the 2nd page displays #Error in that field. And when I print the report, the date field on both pages display an #Error. There is no conditional formatting for this field. I have used and printed this report many times with no problems previously. This problem just started Monday, 10-27-03.
Note: I have a separate database consisting of minimal objects of the database above, that has the same Report format and DMax function, the control source slightly different and it works fine, even when printed using the same computer/printer as above. =DMax("[DateCompleted]","qryIndEmployeeCompDelReq","[EmployeeID]=[Forms]![frmReports]![txtEmployeeID]". I have imported the same report into the database above, changed the two items. Again, on the Screen it is fine, when printed the #Error still persists. Could there be something hidden in the VBA codes, if so, what would I look for? Any help would be appreciated.
Note: I have a separate database consisting of minimal objects of the database above, that has the same Report format and DMax function, the control source slightly different and it works fine, even when printed using the same computer/printer as above. =DMax("[DateCompleted]","qryIndEmployeeCompDelReq","[EmployeeID]=[Forms]![frmReports]![txtEmployeeID]". I have imported the same report into the database above, changed the two items. Again, on the Screen it is fine, when printed the #Error still persists. Could there be something hidden in the VBA codes, if so, what would I look for? Any help would be appreciated.