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

OLE Container Control

Status
Not open for further replies.

OlinDale

Programmer
Jul 28, 2000
2
US
<br>I am trying to add an embedded object into an access table<br>with and ole object data type feild.<br><br>I start with.<br>Me.OLEOrgChart.CreateEmbed &quot;&quot;, &quot;OrgPlusWOPX.4&quot;<br>Me.OLEOrgChart.DoVerb vbOLEOpen<br><br>I update and close OrgPlusWOPX.4.<br><br>Next step.<br><br>rsOrgChart.AddNew<br>rsOrgChart!OrgChart = Me.OLEOrgChart.object.Application<br>rsOrgChart.Update<br><br>The rsOrgChart ole Object data type feild does not become populated.<br><br>What am I doing wrong ?<br><br>Thanks<br><br>Olin Dale from Austin Texas<br><br>
 
Hi,<br><br>This is a suggestion only :)<br><br>Do not close the object.<br><br>Instead of storing the .Application, store the Object itself.<br><br>Then close the object.<br><br>Am I right to some extent ?<br><br>Thanks,<br>Pravi.<br><br>
 
<br>pravi,<br><br>I appreciate you suggestion.<br><br>Writing before closing is an angle which I havn't tried yet.<br><br>I am going to run it and let you know what happenes.<br><br>OlinDale
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top