Minddumps
Registered User.
- Local time
- Today, 08:08
- Joined
- Jul 5, 2011
- Messages
- 73
SEE SOLUTION IN BELOW REPLIES:
For the longest time I couldn't figure out how to save/e-mail a report based on a Query. After playing around with different options in the Embedded Macro section I figured out [OpenReport] in hidden window mode with the Filter Query inputted allows the SendObject to email only those records opened in the queried report. I soon realized though, that doesn't solve my issue as I have various queries that open with that same form/report. Is there a way to VBA code to save and/or email using the same query that the form opened with?
Also:
1. Is there a way to change the name of the attached file that shows once the save prompt/email opens?
2. Is there a way to email/save all queried records with each as it's own individual pdfs instead of all merged into one?
For the longest time I couldn't figure out how to save/e-mail a report based on a Query. After playing around with different options in the Embedded Macro section I figured out [OpenReport] in hidden window mode with the Filter Query inputted allows the SendObject to email only those records opened in the queried report. I soon realized though, that doesn't solve my issue as I have various queries that open with that same form/report. Is there a way to VBA code to save and/or email using the same query that the form opened with?
Also:
1. Is there a way to change the name of the attached file that shows once the save prompt/email opens?
2. Is there a way to email/save all queried records with each as it's own individual pdfs instead of all merged into one?
Last edited: