I have a report which has the following code in "form open event property"


DoCmd.ApplyFilter, " "



After I preview the report and I close it, Access stops responding and following are the details of the error message

Problem signature:
Problem Event Name: BEX
Application Name: MSACCESS.EXE
Application Version: 14.0.4750.1000
Application Timestamp: 4b8bade7
Fault Module Name: MSVCR90.dll
Fault Module Version: 9.0.30729.4940
Fault Module Timestamp: 4ca2ef57
Exception Offset: 0006ccb5
Exception Code: c0000417
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 13313




Problem signature:
Problem Event Name: APPCRASH
Application Name: MSACCESS.EXE
Application Version: 14.0.4750.1000
Application Timestamp: 4b8bade7
Fault Module Name: MSACCESS.EXE
Fault Module Version: 14.0.4750.1000
Fault Module Timestamp: 4b8bade7
Exception Code: c0000005
Exception Offset: 006d55e4
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 13313

Additional information about the problem:
LCID: 1033
skulcid: 1033

How can I overcome this problem