Run Time 2465

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have this code
DoCmd.OpenReport "Mileage POV Form", acViewPreview, , "[ID]=[Forms]![Mileage
POV]![ID]"
DoCmd.SendObject acSendReport, "[Mileage POV Form]", acFormatSNP,
[Supervisors_Email], , , "POV", False

DoCmd.Close

DoCmd.SendObject acSendReport, "[Mileage POV Form]", acFormatSNP,
[Supervisors_Email], , , "POV", False
this part is highlighted and says run time 2465. I copied this from some
place else. So I am not sure what I am doing wrong.
Thanks
Chey
 
I would say that, most likely, the field [Supervisors_Email] does not exist
in the recordsource of whatever form you are doing this from.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Email 1
Yes No 11
SendObject doesn't find fields in querry 1
Add some stuff to code 7
Sending Mail from Access 2007 3
SendObject with multiple objects 1
Update Open Form 3
Emailing Question from my DB 2

Back
Top