开发者

visual basic data base picture

开发者 https://www.devze.com 2023-01-29 14:03 出处:网络
HOW i insert image in micro开发者_运维问答soft access and how to call in visual basic You should detail a bit more on how you plan to store the image.

HOW i insert image in micro开发者_运维问答soft access and how to call in visual basic


You should detail a bit more on how you plan to store the image.
Option a: Normally, you will need an OLE field, in which the user will right-click and choose "insert object". He can then either have that object linked to the source or not.
Option b: you could also decide to store the UNC path to the image in a text field.

Option a is not recommended because it is very heavy and unefficient. Option b, if your requirements allow it, is much lighter, because Access (you did not specify your version) is very unefficient in storing ole objects, and they consume a huge space in you db.

You can Google for "Access VBA ole object", and you will find usable info like these:
http://www.dbforums.com/microsoft-access/1629613-open-ole-object-vba.html and http://www.access-programmers.co.uk/forums/showthread.php?t=154434

0

精彩评论

暂无评论...
验证码 换一张
取 消