Problem with Displaying OLE object in report

S

snetzky

I've tried everything I know to make this work, and I'm stuck. So I'm
hoping someone has seen this before:

I have a report that needs to display a map drawn in a program called
Smart Draw. (Fully OLE compatible).

I put an unbound OLE frame in the report and set it to a blank file
that I've created in that program. File displays fine.

However, when I open this report, I need to change the SourceDoc of the
OLE frame to the map for the location currently on the form.

I have tried changing the .SourceDoc value in the Detail section (where
the control resides) On Format event, but the report doesn't appear to
update the control.

I've also tried opening the report in design view, changing the Source
Doc there, and then saving and opening the report. No luck there
either.

I'm thinking I'm missing some piece of knowledge that will allow me to
update the OLE frame, but maybe someone can tell me what I'm doing
wrong. I'm not at home, so I can't post any code, but can later, if
it's neccesary.

Thanks,

Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top