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.
 
Back
Top