We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Copying a Cell from 1table into another table in ms access using vb.net

Hello, I ajust need a help here. I have 2 tables in my database (ms access)

table1 = employees
table2 = eID

In employees table I have a column name "myimage" in "OLE Object" data type

I just want to copy the cell value in table "employees" at column "myimage" where ID is equal to the current cell value of my datagridview to update cell in table "eID" column "empImage" ID = 1

Any help will be much appreciated :)
thank you in advance

2
Contributors
2
Replies
14 Hours
Discussion Span
4 Months Ago
Last Updated
3
Views
Question
Answered
yvrej17
Junior Poster in Training
51 posts since Oct 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Hi,

I'm a bit rusty with this but I don't think you can just copy over the value from one table to another. I think you will have to stream the image out of one table and then put that stream of binary data back in the other table.

I assume you have code to upload the image to the database and read the image in from the database... In this case, you will be combining them both in reverse i.e. read the image from the database and upload it to the other table.

G_Waddell
Practically a Master Poster
623 posts since Nov 2009
Reputation Points: 107
Solved Threads: 95
Skill Endorsements: 6

Thanks for the concept :) I already made it to work. :)

yvrej17
Junior Poster in Training
51 posts since Oct 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
Question Answered as of 4 Months Ago by G_Waddell

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0601 seconds using 2.66MB