View Full Version : Active X - Web Browser control doesn't work on report


forstatd
06-02-2010, 04:00 PM
I am trying to create a custom report in Access 2003 that among other things, needs to display an aerial image from Bing. I can display this Bing image on a form (and it works perfectly), but for some reason, it will not display on a report... or when it prints. I have inserted a Microsoft WEB browser control on the report and the code looks like this...

***********************************
Private Sub Report_Open(Cancel As Integer)

MyControl.Object.Navigate http://www.dnr.state.mi.us/landsale/....9594,-84.9083 (http://www.dnr.state.mi.us/landsale/showboundary.aspx?44.9594,-84.9285$44.9738,-84.9285$44.9738,-84.9083$44.9594,-84.9083)

End Sub

Do web browser controls not work on reports??

Thanks in advance!http://www.accessforums.net/images/smilies/smile.gif

MarcoBechthum
06-04-2010, 10:39 PM
as far as i know the webcontrol does not work with reports. but you might find a way around it by placing the form with the working webcontrol as subform in your report... don't know for sure but it might work...