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!

ActiveX Controls: How can I use an OLE Control on a report?

Status
Not open for further replies.

aclayborne

Programmer
May 3, 2000
49
US
Whats the difference between an OLE Control and an OLE BoundControl.  And How can I use an OLE Control on a report.
 
On a form (not a report), an oleControl (ActiveX control) is used to host, or be a container for, an ActiveX (e.g. OCX) control, such as the MSCalendar.&nbsp;&nbsp;Reports do not allow oleControls (&quot;unbound&quot; controls).<br><br>On both forms and reports, the oleBoundControl is used to display an image or a representation of a document (such as a Word document or Excel spreadsheet) for which there is an OLE provider.<br><br>To use the oleBoundControl on a report (say, for an image), drop it on the report at the appropriate place, then set the File or Field property to the appropriate value when the dialog automatically appears.&nbsp;&nbsp;The source can either be a file or the contents of a General field.<br> <p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top