且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

查询从文件系统(而不是数据库)显示图片

更新时间:2023-01-22 12:07:20

我现在不能看这个老朋友,但我想我至少得到这个问题。

让我看看后来我能找到的东西。
I can''t look at this now old-buddy, but I think I get the question at least.
Let me see what I can find out later.


归结为能够将图片上传到表单上你去了。

关于每张唱片,可以很容易地检索关于图片存储位置的信息。从那里问题是: -

当显示查询结果时,是否可以逐个记录地获取并显示图片?
It comes down to being able to upload a picture on to the form as you go.
The information as to where the picture is stored can be retrieved easily enough for each record. From there the question is :-
Is it possible to go off, get and display the picture, on a record by record basis, as the query results are shown?


对不起,如果这在逻辑部门有点粗糙,因为我或多或少地教我自己,所以请耐心等待我。


这里有:


在我看来,***的方法是生成一个具有你想要的值的记录集(这似乎主要是关键和路径)。从那里,记录集将绑定到一个带有两个文本框的表单(一个用于键,一个用于路径信息)和一个图像对象。诀窍是使图像对象链接并从记录集返回的路径动态设置路径。


不幸的是,我无法提供必要的编码,因为我不确定涉及的每一步骤。然而,这是我看起来的方向,因为它似乎可以提供动态解决方案,而无需生成永久表。


希望这会有所帮助。
>
Minion
Sorry if this is a bit crude in the logic department as I''m more or less teaching myself as I go on things, so pleae bear with me.

Here it goes:

It seems to me that the best way to do this would be generate a recordset with the values you desire (which seem to be primarily the Key and the path). From there the recordset would be bound to a form with two text boxes (one for the Key, one for the path info) and an image object. The trick is making the image object linked and setting the path dynamically from path returned by the recordset.

Unfortunately, I am unable to provide the necessary coding here as I''m not sure of each step involved. However, this is the direction I would look as it seems that it would provide a dynamic solution without having to produce a permanent table.

Hope this helps.

Minion