将JPEG存储在数据库中 [英] Storing a JPEG within a database

查看:55
本文介绍了将JPEG存储在数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于你们中的一些人对Access的不同领域了解得太多,我会问一个我之前放弃的问题。

我有一个公司徽标,目前存储作为网络上的.Jpg文件。

我在报告中通过在报告中包含一个链接到文件名称的图像类型字段来显示它。

我的问题是: -


如何将它存储在Access数据库的表中,这样每次访问时都不必从文件中加载它?


我需要知道:

1.如何定义存储它的字段。

2.如何在报告中使用它。


我怀疑这可能是之前已经完成的事情但我在尝试时遇到了困难。

解决方案

这可能会有所帮助。

http://support.microsoft.com/kb/198463/en-us



这可能会有所帮助。


http://support.microsoft.com/kb/ 198463 / zh-CN



谢谢Tanis。


我查看了链接,但它很好地描述了我目前的位置。

我想要的是将图像存储在数据库中,从而避免每次运行任何报告时将图像加载到内存中的延迟。

也许它只是不受支持&我将不得不保留原样: - (。



谢谢Tanis。


我检查了链接,但它很好地描述了我当前的位置。

我想要的是将图像存储在数据库中,从而避免加载图像的延迟每次我运行任何报告时都会进入内存。

也许它只是不支持&我将不得不保留原样:-(。



如果有明显的延迟,也许您的图像文件大于必要的。您是拍摄大图像还是调整大小以显示?如果是这样,您可以通过保存小副本并使用它来节省时间。


Since some of you guys know so much about different areas of Access, I''ll ask a question I''d previously given up on.
I have a company logo which is currently stored as a .Jpg file on the network.
I show it on reports by including an ''Image'' type field in the reports which links to the name of the file.
My question is :-

How can I store this in a table in an Access database such that it doesn''t have to load it from the file every time it is accessed?

I need to know :
1. How to define the field where it is stored.
2. How to use it in a report.

I suspect that this may be something that''s been done before but I got stuck when I tried it.

解决方案

This might help.

http://support.microsoft.com/kb/198463/en-us


This might help.

http://support.microsoft.com/kb/198463/en-us

Thanks Tanis.

I checked out the link but it pretty well describes my current position.
What I''m trying to get to, is to store the image within the database and therefore avoid the delay of loading the image into memory every time I run any report.
Maybe it''s just not supported & I will have to leave it as it is :-(.


Thanks Tanis.

I checked out the link but it pretty well describes my current position.
What I''m trying to get to, is to store the image within the database and therefore avoid the delay of loading the image into memory every time I run any report.
Maybe it''s just not supported & I will have to leave it as it is :-(.

If there is a noticeable delay, perhaps your image file is larger than necessary. Are you taking a large image and resizing it to display? If so, you might save time by saving a small copy and using that.


这篇关于将JPEG存储在数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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