I have a routine that works great for printing a filtered report. There is a form where you select the group you want, and press the print button. That executes a 'Select Case' routine and, depending on which case, executes a line similar to:
DoCmd.OpenReport stRptName, acViewNormal, , "Area=2"
Now I want to be able to press an email button and do the same thing. Problem is the DoCmd routine for SendObject doesn't allow for a 'Where Condition'.
Can anyone give me some help?
Thank You
Harry J.
DoCmd.OpenReport stRptName, acViewNormal, , "Area=2"
Now I want to be able to press an email button and do the same thing. Problem is the DoCmd routine for SendObject doesn't allow for a 'Where Condition'.
Can anyone give me some help?
Thank You
Harry J.