Jim Lawrence
accessd at shaw.ca
Sat Jul 7 12:05:42 CDT 2012
You may wish to go to a web based solution to get that capability but you can create a web window within an Access form. Private Sub Form_Current() 'Navigate to a web page If Len(MyWebSite) > 0 Then 'You have a local webserver and webpages MyWebsite.Navigate URL:="MyNewPage1.html" Else ' You have a website you can access. MyWebsite.Navigate URL:="www.mywebsite.com/MyNewPage1.html" End If End Sub On any page you can use a number of maps and shape coordinants around various object you wish to allow selected. <map name="name"> <area shape="MyShape1" coords="0,0,10,15" href="MyNewPage1.html <area shape="MyShape2" coords="15,20,10,15" href="MyNewPage2.html <area shape="MyShape3" coords="20,20,10,15" href="MyNewPage3.html </map> The shapes can be of many types from boxes, as shown, to circles or form any irregular object on an image. To do the complex shape stuff you will need (like much more than doing manual labour) a map editor. There are a few stand alone editors but these editors come with every web page-maker. For very precise positioning, detection and more sophisticated management you may want to use JavaScript events which can allow the detection of even a single pixel. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, July 07, 2012 7:57 AM To: Access Developers discussion and problem solving Subject: [AccessD] Need for a Map (Image) with Multiple Hot Spots (In theShape of Countries) All, I have been experimenting with an embedded image on a Form. I have added labels on top of the image to act as "Hot Spots". When selected, these labels will be used to "Drill Down" into more details. This all works very nicely. My next step is to build a map with "Hot Spots" for Drill Downs. I would like to start with a world map and add a number of Hot Spots that will enable a user to Drill Down for more details for various countries. The catch is that Access labels only work nicely for Hot Spots that are rectangles. It would be ideal if the shape was flexible so that the hot spot could be the shape of a country or group of countries. Is there a way to do this with Access? Thanks, Brad