DAP DB Field Hyperlinks

J

Janie

Data Access Page - hyperlinks

I am trying to use both a graphic and text as hyperlinks to internet sites
from an underlying Access DB table with a field of hyperlinks. I can get the
links to work with the graphic, but the graphic itself will not show on the
DAP after it is bound. The text box will not show “Click Here†– it only
shows the entire lengthy URLs.

Please help – How do I fix this?
 
S

Sylvain Lafontaine

For an image bound to a datafield, you must store the images a files on the
hard drive and use a little piece of javascript to update the src of the
image control. See http://support.microsoft.com/?id=285820 for an exemple.

For the text box, you must perform the same kind of routine and use
javascript to update the HTML control as necessary.

See the following articles for more information:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/html/ODC_acc10_DSCOM.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/programdap.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/html/ODC_acc10_DSCOM.asp


Office Web Components Visual Basic Reference:

http://www.microsoft.com/downloads/...a9-cf5c-4dd7-8505-8074745a6d11&DisplayLang=en

Online version of the above OWC reference:
http://msdn.microsoft.com/library/d.../en-us/owcvba11/html/ocWelcome_HV01136208.asp

And for some more exemples: Office XP Web Component Toolpack:
http://www.microsoft.com/downloads/...77-2100-4586-A13C-50E56F101720&displaylang=en
 
Top