将报表导出为PDF后,Access 2007挂起 [英] Access 2007 hanging on exit, after exporting report to PDF

查看:75
本文介绍了将报表导出为PDF后,Access 2007挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在经过这么多回答之后成为那个问题的人感觉很奇怪,但是这个让我发疯了。


我有一个简单的数据库,包含表格,表格和基于表格的报告。这是我快速测试一个想法的东西,因此表中只有四到五个无用数据记录。


想法是让用户点击窗体上的命令按钮,将导致系统文件夹选择器显示。选择位置并点击确定后,数据库中的报告将作为根据报告标题命名的PDF导出到该位置。按钮的On Click事件中的代码如下:

展开 | 选择 | Wrap | 行号

解决方案

我应该补充一点,当我通过右键单击打印预览中的报表并选择PDF选项来手动执行导出时,我没有任何退出Access的问题。因此,我的主题标题可能有点误导,因为它可能与将内容导出为PDF更少有关,而与系统文件夹选择器框有关。谢谢。


Pat


@ zepphead80


订阅 - 我会看到我可以在笔记本电脑上做什么来复制你的位置你使用的版本只有2000和2007我的机器?


我会冒险访问2007 Jim ;)

Hi,

It feels strange to be the one doing the asking after so much answering, but this one is driving me crazy.

I have a simple database with a table, a form, and a report based on the table. It''s something I made quickly to test out an idea, and so the table only has four or five records of useless data in it.

The idea is for the user to click a command button on the form, which will cause a system folder picker to display. Upon selecting a location and hitting OK, the report in the database gets exported to that location as a PDF named according to the report''s caption. The code in the On Click event for the button is as follows:

Expand|Select|Wrap|Line Numbers

解决方案

I should add that when I manually do the export by right-clicking on the report in print preview and selecting the PDF option, I don''t have any problem exiting Access. So the title of my thread might be a little misleading as it probably has less to do with exporting something to a PDF and more to do with the system folder picker box. Thanks.

Pat


@zepphead80
subscribing - I,ll see what I can do on my laptop to replicate your position which version access you using I have 2000 and 2007 only on my machine?


I would hazard Access 2007 Jim ;)


这篇关于将报表导出为PDF后,Access 2007挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆