I have a program that works fine under Access 2000, my client has purchased some new computers with Access XP on them and the OutPutTo command doesn't work under the new version.
The line of code looks as follows:
DoCmd.OutputTo acOutputReport, stDocName, acFormatRTF, sPath & sStudent & "Acceptance.rtf"
In XP the constant acReport has been changed to acOutPutReport, I've tried it both ways and neither works. Everything seems to work fine, I even get the message that it is writing the files but it doesn't write them.
Any suggestions would be greatly appreciated.
Lloyd.
The line of code looks as follows:
DoCmd.OutputTo acOutputReport, stDocName, acFormatRTF, sPath & sStudent & "Acceptance.rtf"
In XP the constant acReport has been changed to acOutPutReport, I've tried it both ways and neither works. Everything seems to work fine, I even get the message that it is writing the files but it doesn't write them.
Any suggestions would be greatly appreciated.
Lloyd.