Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy/Paste Function

Status
Not open for further replies.
Nov 24, 2003
57
US
I'm trying to perform a copy paste function for screenshots. I have a field in the table set to "ole" and I know you can copy and paste screenshots into it by using the keyboard but I was wondering is there anyway that you can set it up so when the user gets the screen capture, they can click on a command button and it will automatically paste the screenshot into the ole field? If anyone knows how to do this, I'd greatly appreciate it if you could tell me how.
 
If your form has a "Bound Object Frame" set to your tables OLE field, perhaps named oleScreenShot, your button code could look like:

Me!oleScreenShot.SetFocus
DoCmd.RunCommand acCmdPaste
 
Thanks for the advice, it worked like a charm. I know what you're talking about with the images taking up a lot of space, the images are only going to be stored until I view them and then delete them so the table won't grow too big. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top