|
5#
楼主 |
发表于 2014-7-30 10:54:28
|
只看该作者
嗯,最早的方法就是写6行代码,分别导出他们,有没有简炼的代码,我原先用的是:、
'DoCmd.OutputTo acReport, "文教报表", "SnapshotFormat(*.snp)", "F:\(20140708最新)按分类自动汇总结帐\导出的表\文教报表.snp", False, "", 0
'DoCmd.OutputTo acReport, "教辅报表", "SnapshotFormat(*.snp)", "F:\(20140708最新)按分类自动汇总结帐\导出的表\教辅报表.snp", False, "", 0
'DoCmd.OutputTo acReport, "期刊报表", "SnapshotFormat(*.snp)", "F:\(20140708最新)按分类自动汇总结帐\导出的表\期刊报表.snp", False, "", 0
'DoCmd.OutputTo acReport, "报纸报表", "SnapshotFormat(*.snp)", "F:\(20140708最新)按分类自动汇总结帐\导出的表\报纸报表.snp", False, "", 0
'DoCmd.OutputTo acReport, "音像报表", "SnapshotFormat(*.snp)", "F:\(20140708最新)按分类自动汇总结帐\导出的表\音像报表.snp", False, "", 0
'DoCmd.OutputTo acReport, "非出版物报表", "SnapshotFormat(*.snp)", "F:\(20140708最新)按分类自动汇总结帐\导出的表\非出版物报表.snp", False, "", 0
|
|