照片停止显示在报告中 [英] Photos stop displaying in reports

查看:68
本文介绍了照片停止显示在报告中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Access 2007

Access 2007

我有一个personel目录应用程序,允许我在一个字段中选择并保存照片的文件名。 所有看起来都很好,直到我去报告。 然后,如果我选择多个页面进行打印或打印预览,图像会在几页后停止显示
。 我已将照片的路径缩短到一个子目录,压缩前端和后端,并再次编译代码。 没有帮助。 几年前我收到了来自新闻组的表单和报告代码
,直到现在它工作正常。 在两台同时运行Windows XP和Windows 7的计算机上尝试使用相同的结果。 如果你想要我发布代码,但它相当冗长。 有什么想法?

I've got a personel directory application that allows me to choose and save the filename of a photo in a field.  All that seems to work just fine until I go to the report.  Then if I select several pages to print or print preview, the images cease to display after a few pages.  I've shortened the path to the photos to just one subdirectory, compacted both front and backends, and compiled the code again.  No help.  I've gotten the form and report code from a newsgroup several years ago and it's worked fine up til now.  Tried it on two machines running both Windows XP and Windows 7 with the same results.  If you want I'll post the code, but it is fairly lengthy.  Any ideas?

推荐答案


Access 2007

Access 2007

我有一个personel目录应用程序,允许我在一个字段中选择并保存照片的文件名 所有看起来都很好,直到我去报告。 然后,如果我选择多个页面进行打印或打印预览,图像会在几页后停止显示
。 我已将照片的路径缩短到一个子目录,压缩前端和后端,并再次编译代码。 没有帮助。 几年前我收到了来自新闻组的表单和报告代码
,直到现在它工作正常。 在两台同时运行Windows XP和Windows 7的计算机上尝试使用相同的结果。 如果你想要我发布代码,但它相当冗长。 有什么想法?

I've got a personel directory application that allows me to choose and save the filename of a photo in a field.  All that seems to work just fine until I go to the report.  Then if I select several pages to print or print preview, the images cease to display after a few pages.  I've shortened the path to the photos to just one subdirectory, compacted both front and backends, and compiled the code again.  No help.  I've gotten the form and report code from a newsgroup several years ago and it's worked fine up til now.  Tried it on two machines running both Windows XP and Windows 7 with the same results.  If you want I'll post the code, but it is fairly lengthy.  Any ideas?



听起来您可能遇到代码中的某些资源限制,*可能*是由于代码中的错误,或者可能是Access 2007中的错误。 我必须看到代码甚至有机会猜测问题是什么。


It rather sounds like you may be running into some resource limitation in the code, which *might* be due to a bug in the code, or might be a bug in Access 2007.  I'd have to see the code to even have a chance of guessing what the problem is.

但是,您可能不需要Access 2007的代码。 我认为Access 2007引入了一个修改后的图像控件,可以绑定到包含要显示的图像路径的文本字段。 由于您有文件名,因此可能
可能构造一个表达式,给出完整的文件路径,并将图像控件绑定到该表达式。 或者,您的字段可能包含整个文件路径,在这种情况下,您可以将图像控件直接绑定到字段。 你试过吗?

However, you may not need that code with Access 2007.  I think it was Access 2007 that introduced a revised image control that can be bound to a text field containing the path of an image to be displayed.  Since you have the filename, you could presumably construct an expression giving the full file path, and bind an image control to that expression.  Or maybe your field contains the whole file path, in which case you could bind the image control directly to the field.  Have you tried that?

 


这篇关于照片停止显示在报告中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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