G
Guest
I can't figure out what i Did wrong
DoCmd.OpenReport "Mileage POV Form", acViewPreview, ,
"[ID]=[Forms]![Mileage POV]![ID]"
DoCmd.PrintOut acPages, 1, 1, , 2
DoCmd.SendObject acSendReport,,,[Supervisors_Email])
DoCmd.SendObject acSendReport,,,[Supervisors_Email])
this part is Red.
I want to open the report print 2 pages and then email it.
Supervisors_Email is in the query.
Thanks
Chey
DoCmd.OpenReport "Mileage POV Form", acViewPreview, ,
"[ID]=[Forms]![Mileage POV]![ID]"
DoCmd.PrintOut acPages, 1, 1, , 2
DoCmd.SendObject acSendReport,,,[Supervisors_Email])
DoCmd.SendObject acSendReport,,,[Supervisors_Email])
this part is Red.
I want to open the report print 2 pages and then email it.
Supervisors_Email is in the query.
Thanks
Chey