G
gary
Hi,
I use this code to email the salary report to my colleague,
DoCmd.SendObject acReport, "salary", "HTML(*.html)",
Forms![main]!, "", "", "Salary Record", "Please reply!!", False, ""
DoCmd.GoToRecord acForm, "main", acNext, 1
but I need to click the button many times, I want to know,
how can atuomatic sent the report to the end of records by click the button
one time??
Thank!!
I use this code to email the salary report to my colleague,
DoCmd.SendObject acReport, "salary", "HTML(*.html)",
Forms![main]!, "", "", "Salary Record", "Please reply!!", False, ""
DoCmd.GoToRecord acForm, "main", acNext, 1
but I need to click the button many times, I want to know,
how can atuomatic sent the report to the end of records by click the button
one time??
Thank!!