If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Programatically create report containing linked OLE ?
I must be doing somethign wrong. Any help would be appreciated...
I've got the object full path in the database, I can get the object into forms just fine. But, when I try to create a report I can't figure our how to get the linked object to exist... Here's what I'm trying to do: Set rptDescrip = CreateReportControl(rptDetails.Name, acObjectFrame, acDetail) 'Descr Object rptDescrip.Top = 4800 ... rptDescrip.Class = "Microsoft.Word.8" rptDescrip.OLEClass = "Microsoft Word" rptDescrip.Enabled = True rptDescrip.OLETypeAllowed = acOLELinked rptDescrip.SourceDoc = the full path to the file rptDescrip.Action = acOLECreateLink But - It won't let me do the Action.... Any suggestions? |
Thread Tools | |
Display Modes | |
|
|