LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write/Read JPG image to Access Data Base

 

I'm Trying to Write and Read JPG's images to Access data base.

 

1.- first way to do it is to convert the image to Text string and save into a column (in this case to "imagen"), but the maximum size must be less than 255 bytes (according with returned error) and other error than i'm getting is sintaxis errors (but i'm sure is ok because if I put some text into that field works but not the text from JPG image. 

2.- the other method is changing the "imagen" field to OLE object (you can open the data base annexed and change the column "imagen" to OLE object into "Consulta" data base. In this case I don't know how to convert the JPG image to Ole Object and concatenat into the other fields.

 

Please see the zip file annexed.

 

Thank you guys...

0 Kudos
Message 1 of 9
(4,072 Views)

No body can Help me?  still have the same problem...

0 Kudos
Message 2 of 9
(4,026 Views)

Hi,

it's straight forward, change to OLE type and write the jpeg string. It will be a BLOB in access database.

cosmin

0 Kudos
Message 3 of 9
(4,009 Views)

Sorry, but I don't understand.

 

there is a zip file with all, can you show me how?

 

Thank you

0 Kudos
Message 4 of 9
(3,990 Views)

Hi,

attached is the modified version. There were some mistakes regarding your SQL statement as well.

You can continue from here.

 

cosmin

0 Kudos
Message 5 of 9
(3,963 Views)

Cosmin:...

 

Can you save it in LabView8.6?

 

Thank you

0 Kudos
Message 6 of 9
(3,941 Views)

Any body can change the last Zip file from LabView 2009 to 8.6?

 

Thank you

0 Kudos
Message 7 of 9
(3,873 Views)

Hi, Please find the modified LV8.6 version VIs attached.  There are some vis has password protection so i couldnt able to downconvert fully. But i hope that the attached version will solve your problem.

0 Kudos
Message 8 of 9
(3,844 Views)

Hi,

attached is the 8.6 version, with all subvi's.

cosmin

0 Kudos
Message 9 of 9
(3,822 Views)