Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OutputTo coded in Access 2000 not working in 2002

Status
Not open for further replies.

famehrie

ISP
Dec 14, 2002
31
US
I have a multi-version environment that uses Access 2000 and Access 2002. I have a form with a command button which generates a report and Outputs the data to an RTF file. The code works just fine in Access 2000 but it gives run time errors in Access 2002. Also note that the computers with Access 2000 are Win2k and the Computers with Access 2002 are WinXP. I was thinking it might have something to do with the object references in VB but I am not sure. Does anyone have any suggestions?

Code for command buttons OnClick event
DoCmd.OutputTo acOutputReport, "ReportName", acFormatRTF, "FileName.RTF", True

Error received
Run-Time error 2203
The dynamic-link library Commdlg faild: error code '0xffff'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top