Microsoft, Access, 2007, 64-bit machine error - can't save output data to the file

My Access 2007 database works fine for all users I've tested except for 2 who both have 64-bit machines.  The error message is "can't save the output data to the file you've selected".  The debugger stops at the follwing command.

DoCmd.OutputTo acOutputReport, "ToolingReport", acFormatRTF, strFileName, False

Here's the entire procedure where the debugger stops

Private Sub SendEMail_Click()

  Dim mailapp As Outlook.Application
  Dim mailitem As Outlook.mailitem
  Dim addressList, requestorAddress As String
  Dim subjectStr, strWhere As String
  Dim strFileName, strDocName As String
  Dim tempNo As Integer
     
    Set mailapp = New Outlook.Application
    Set mailitem = mailapp.CreateItem(0)
    subjectStr = "NEW - Tooling Request #" & Nz(Me!ToolingNum) & " has been opened."
    strFileName = "c:\temp\test.rtf"
 
    requestorAddress = Nz(Me!Requestor.Column(1))
    addressList = Me!ProgramMgr
       
    tempNo = 1000 + DCount("RecordNum", "ToolingTable", "Revision=1")
    strDocName = "ToolingReport"
    strWhere = "RecordNum = " & tempNo
   
    DoCmd.OpenReport strDocName, acViewPreview, "", strWhere, , "entry"
    DoCmd.OutputTo acOutputReport, "ToolingReport", acFormatRTF, strFileName, False
     
    With mailitem
        .To = addressList
        .CC = requestorAddress
        .Subject = subjectStr
        .Body = "Please review the attached new Tooling Request and reply with your approval " _
          & "or update the Program Manager Approval field in the Request Database."
        .Attachments.Add strFileName
        .Send
    End With

    Set mailitem = Nothing
    Set mailapp = Nothing

End Sub
greenprgAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
greenprg,

1. Make *sure* that a "temp" Folder/Directory actually exists on these machines, and that the users have permissions to Create records on it.
(Check the spelling as well)

2. Does it work with another format? (AcFormatSNP, AcFormatHTML, AcFormatPDF)

3. Is this a databse that was converted from 2003 or eariler?

JeffCoachman
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
greenprgAuthor Commented:
Thanks, Jeff!

#1 was exactly correct.  It had nothing to do with the 64-bit machine.  For some reason he does not have a temp folder.

Helen
0
Jeffrey CoachmanMIS LiasonCommented:
;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.