Hi All
I have a report that is run monthly, however I would like a short Word doc inserted into the report. The doc changes from month to month, so my original plan was to place an unbound object frame in the report, then at run time open a file chooser dialog so the user could select the doc, then change the .SourceDoc property of the object frome to point to the selected file.
However, I can't get this to work - the file dialog works, returns the correct path and file name, however the object frame does not update. If I try to add .Action = acOLEUpdate, I get an error that there is no OLE object to update.
Doing a similar thing within a form works fine, however it doesn't with a report - anyone have any ideas?
Thanks
Bill
I have a report that is run monthly, however I would like a short Word doc inserted into the report. The doc changes from month to month, so my original plan was to place an unbound object frame in the report, then at run time open a file chooser dialog so the user could select the doc, then change the .SourceDoc property of the object frome to point to the selected file.
However, I can't get this to work - the file dialog works, returns the correct path and file name, however the object frame does not update. If I try to add .Action = acOLEUpdate, I get an error that there is no OLE object to update.
Doing a similar thing within a form works fine, however it doesn't with a report - anyone have any ideas?
Thanks
Bill