Hi,
I have a report which is generated from a form. The form filters the report to show just one record. IO use the following code to do this:
My aim is to output this report (with the single record) to Word. I know that i could use a mailmerge to do this, but I want to get away from having dedicated word document for the output (i update this quite frequently and it's easier if i only have to update the database as opposed to updating the database and a word document)
Hope this is clear, can anybody help?
I have a report which is generated from a form. The form filters the report to show just one record. IO use the following code to do this:
Code:
Dim stDocName As String
Dim stLinkCriteria As String
stLinkCriteria = "[ID]=" & Me![ID]
stDocName = "Rep_ReferralFormPM_FPM"
DoCmd.OpenReport stDocName, acNormal, , stLinkCriteria
My aim is to output this report (with the single record) to Word. I know that i could use a mailmerge to do this, but I want to get away from having dedicated word document for the output (i update this quite frequently and it's easier if i only have to update the database as opposed to updating the database and a word document)
Hope this is clear, can anybody help?