sureshmopl
Registered User.
- Local time
- Tomorrow, 05:15
- Joined
- Oct 24, 2016
- Messages
- 11
Hi all, I have more than 100 select queries in my db. I needs to run a report with same design, separately for each queries. How do I do it without running the report one by one? I can run these queries together and get the output in separate files with the following sample code :
DoCmd.OpenQuery "101"
DoCmd.OutputTo ObjectType:=acOutputQuery, ObjectName:="101", OutputFormat:=acFormatHTML, Outputfile:="H:\Work\Employees\101.html"
DoCmd.Close acQuery, "101", acSaveNo
But reports give me more refined output than DoCmd.OutputTo method. Please help. Thanks
DoCmd.OpenQuery "101"
DoCmd.OutputTo ObjectType:=acOutputQuery, ObjectName:="101", OutputFormat:=acFormatHTML, Outputfile:="H:\Work\Employees\101.html"
DoCmd.Close acQuery, "101", acSaveNo
But reports give me more refined output than DoCmd.OutputTo method. Please help. Thanks