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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get the contents of the OLE field to be viewable on a form.

Status
Not open for further replies.

colezpapa

Programmer
Feb 26, 2007
86
US
I am storing a word doc and a PDF doc in an OLE field.
I have an unbound form and I would like the user to clik a button to view the document on file. What do I have to do to get the document to load.
I created a bound object frame OLEBound391....and am OLE field in a table named DOCUMENT. How can I get the contents of the OLE field to be viewable on a form.

Here's my code...

Me.OLEBound391.Visible = True
Me.OLEBound391.Verb = acOLEVerbOpen
Me.OLEBound391.Action = acOLEActivate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top