LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i store image path in Database(Access)

storing images into database and latter fetching it shows a error. so what i thought is instead of storing the image directly into the database its better to store the image path. but my problem is how to store the image path into the database?can you give me an example
0 Kudos
Message 1 of 4
(3,290 Views)
indhu wrote:

> storing images into database and latter fetching it shows a error. so
> what i thought is instead of storing the image directly into the
> database its better to store the image path. but my problem is how to
> store the image path into the database?can you give me an example

Convert it to a string with Path To String conversion function?

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 4
(3,290 Views)
Hi,

When you attempted to store the images into access, did you store them as BLOBs? If so, there are some good sites out there (Google for "storing images in Access") that talk about doing it this way versus just doing image paths. If you prefer to stick with image paths, however, then that is simply just using the Path To String VI to make the string and then send it into the db using the insert data vi from the DB Connectivity Toolset. Then, just store all of your images in a predefined directory that maintains the path from the database entries.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 3 of 4
(3,290 Views)
I'm able to store the image path into DB but the problem arises while retrieving it. will you please help me out?
Download All
0 Kudos
Message 4 of 4
(3,290 Views)