A
artist
I setup a report showing one record. I want this report to be e-mailed when
I push a button on a form. It is not working using mywherecondition. Here
is the code:
Dim MyWhereCondition As String
MyWhereCondition = "ScheduleID= " & Me.ScheduleID
DoCmd.OpenReport "rptScheduleForm", acPreview, MyWhereCondition
DoCmd.SendObject acSendReport "rptscheduleform",
*.xml,[email protected]
Can someone please help?
I push a button on a form. It is not working using mywherecondition. Here
is the code:
Dim MyWhereCondition As String
MyWhereCondition = "ScheduleID= " & Me.ScheduleID
DoCmd.OpenReport "rptScheduleForm", acPreview, MyWhereCondition
DoCmd.SendObject acSendReport "rptscheduleform",
*.xml,[email protected]
Can someone please help?