How to display image from sql server in ms access

前端 未结 3 1826
一向
一向 2021-01-16 17:13

I have an MS sql server database. There is a table with one of the column of the \"image\" type. Now, the customer wants to read the data from an MS access. He wants to disp

相关标签:
3条回答
  • 2021-01-16 17:20

    You can put regular Image control on form and state MyPic.PictureData=PicField in Current event.

    Or you can use AccessImagine, which is great for pictures in MS Access and requires no scripting. You can download it here - http://access.bukrek.net/download

    0 讨论(0)
  • 2021-01-16 17:39

    Rather than write out the stored images to files in order to display them, it may be possible to use ASP to display the image and a web browser control on the Access form to display the page. I have not tried this.

    How To Display Images Stored in a BLOB Field: http://support.microsoft.com/kb/173308

    0 讨论(0)
  • 2021-01-16 17:39

    I think you can do this by using streams. Stream the image from the field to an unbound image control. We use the same process for opening documents and other binary data stored in an SQL Server database.


    On the other hand, Access had an Image control that can be linked to a field in a table. That should be a lot easier to user!

    0 讨论(0)
提交回复
热议问题