Jan 26, 2003 #1 udik MIS Jan 26, 2003 9 IN Hi all! Does anyone know how to export MS Access Report automatically to HTML page, whenever its related table is updated? Thanks! Udi
Hi all! Does anyone know how to export MS Access Report automatically to HTML page, whenever its related table is updated? Thanks! Udi
Jan 26, 2003 #2 Darrylles Programmer Feb 7, 2002 1,758 GB Hi, Use VBA to control it. Look at 'export report' in Access Help to understand how to export a report to HTML. Regards, Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk Upvote 0 Downvote
Hi, Use VBA to control it. Look at 'export report' in Access Help to understand how to export a report to HTML. Regards, Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
Jan 27, 2003 #3 Dbless IS-IT--Management May 8, 2002 22 US Try this it works great for me. DoCmd.OpenReport stDocName, acViewPreview, , criteria DoCmd.SendObject acReport, stDocName, acFormatRTF, eaddress, , , "Open Orders", "Open Orders", 0 DoCmd.Close acReport, stDocName The first DoCmd line executes the report. Need this if the report needs some type of criteria The DoCmd.SendObject line produces the last open report. Check out the on-line help The last DoCmd closes the report for you. Hope this helps Upvote 0 Downvote
Try this it works great for me. DoCmd.OpenReport stDocName, acViewPreview, , criteria DoCmd.SendObject acReport, stDocName, acFormatRTF, eaddress, , , "Open Orders", "Open Orders", 0 DoCmd.Close acReport, stDocName The first DoCmd line executes the report. Need this if the report needs some type of criteria The DoCmd.SendObject line produces the last open report. Check out the on-line help The last DoCmd closes the report for you. Hope this helps