Hi all,
Thank you for all the help!![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
I have a Form (ChsRef) with a combo box that you choose an option;
Then the user clicks on a cmd button that will output a report (HcnyCrgDri) to a file (any format the user chooses)
The problem I am having is this:
The output works fine; except for one thing; it does not output the template images;
For example to an rtf file.
I have configured the report and linked the image rather than embedded (which I tried first; but with no joy).
Is there any way to force an image transfer to an output file?
Here is the code for the button:
Any help will be very much appreciated ![[bigsmile] [bigsmile] [bigsmile]](/data/assets/smilies/bigsmile.gif)
Kind regards
Triacona
Thank you for all the help!
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
I have a Form (ChsRef) with a combo box that you choose an option;
Then the user clicks on a cmd button that will output a report (HcnyCrgDri) to a file (any format the user chooses)
The problem I am having is this:
The output works fine; except for one thing; it does not output the template images;
For example to an rtf file.
I have configured the report and linked the image rather than embedded (which I tried first; but with no joy).
Is there any way to force an image transfer to an output file?
Here is the code for the button:
Code:
Private Sub HnkyCrDriCrd_Click()
On Error GoTo Err_HnkyCrDriCrd_Click
Dim stDocName As String
stDocName = "HcnyCrgDri"
DoCmd.OutputTo acOutputReport, stDocName
Exit_HnkyCrDriCrd_Click:
Exit Sub
Err_HnkyCrDriCrd_Click:
MsgBox Err.Description
Resume Exit_HnkyCrDriCrd_Click
End Sub
![[bigsmile] [bigsmile] [bigsmile]](/data/assets/smilies/bigsmile.gif)
Kind regards
Triacona