I know I have done this before, but all my documentation is at work . . . I am trying to email a report with a subject line and I would like to send it with a condition of [ID] so it only prints the current record I am on . . .
this is what I got . . . where am I going wrong?
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 2, , acMenuVer70
stDocName = "rpt_traineeprogressreport"
DoCmd.SendObject acReport, stDocName, , "[ID] = " & Me.ID
(, , "[ID] = " & Me.ID) I know this part is wrong, but I am not sure where to put the condition at?
Any Ideas?
Thanks~
Chance~
this is what I got . . . where am I going wrong?
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 2, , acMenuVer70
stDocName = "rpt_traineeprogressreport"
DoCmd.SendObject acReport, stDocName, , "[ID] = " & Me.ID
(, , "[ID] = " & Me.ID) I know this part is wrong, but I am not sure where to put the condition at?
Any Ideas?
Thanks~
Chance~