InsaneProgrammer
Programmer
I am using an Access 97 database on a Windows 2000 machine and get the following error when I try to print a specific Access report.
"There isn't enough free memory to update the display. Close unneeded programs and try again."
The report prints fine but the message always comes up. I have increased the virtual memory but that didn't work. The report is printed from a button that has the following code.
Private Sub cmbPrint_Click()
On Error GoTo Err_cmbPrint_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection, , , , , acPreview
Exit_cmbPrint_Click:
Exit Sub
Err_cmbPrint_Click:
MsgBox Err.Description
Resume Exit_cmbPrint_Click
End Sub
The problem doesn't occur on Windows NT 4.0 machines. Any ideas?
"There isn't enough free memory to update the display. Close unneeded programs and try again."
The report prints fine but the message always comes up. I have increased the virtual memory but that didn't work. The report is printed from a button that has the following code.
Private Sub cmbPrint_Click()
On Error GoTo Err_cmbPrint_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection, , , , , acPreview
Exit_cmbPrint_Click:
Exit Sub
Err_cmbPrint_Click:
MsgBox Err.Description
Resume Exit_cmbPrint_Click
End Sub
The problem doesn't occur on Windows NT 4.0 machines. Any ideas?