P
patrick p
I using a control object (Autodesk Express Viewer control)
to add an "image (dwf file)" to my report. I created the
following code based on MS Article 210100 to change the
SourcePath of the control for each record.
Function setSourcePath()
Dim strSourcePath As String
strSourcePath = Me.txtDwfName
Me.CAdViewer.SourcePath = "[Cadd_Library].[DWF_direct]"
Exit Function
End Function
The control object is name CAdViewer, txtDwfName is a text
box containg the image path from the field DWF_direct.
I've set this function to be implemented OnPrint, however
on print preview the control is blank.
I've test the control by directly putting the image path
in the SourcePath and it shows up, however it doesn't show
up in the print preview.
Any suggestions as to what I'm doing wrong.
to add an "image (dwf file)" to my report. I created the
following code based on MS Article 210100 to change the
SourcePath of the control for each record.
Function setSourcePath()
Dim strSourcePath As String
strSourcePath = Me.txtDwfName
Me.CAdViewer.SourcePath = "[Cadd_Library].[DWF_direct]"
Exit Function
End Function
The control object is name CAdViewer, txtDwfName is a text
box containg the image path from the field DWF_direct.
I've set this function to be implemented OnPrint, however
on print preview the control is blank.
I've test the control by directly putting the image path
in the SourcePath and it shows up, however it doesn't show
up in the print preview.
Any suggestions as to what I'm doing wrong.