Solved

Web Browser Control/Continuous Forms in Access 2000

Posted on 2006-06-12
3
392 Views
Last Modified: 2008-02-26
Hello,

I have a Microsoft Access 2000 web form which needs to display images which are referenced by a fieldname in my table called URL. I've imbedded the Microsoft Web Browser activex control (calling it WebBrowser) and I've set the Form_Current() event as follows:

Private Sub Form_Current()
Me.WebBrowser.Navigate URL
End Sub

When the form's default view is "Single View", the form works perfectly. As I navigate to different records, the Form_Current event is fired and the WebBrowser control updates accordingly.

My Problem: when I set the form to "Continuous Forms", several detail records appear, but only the top one navigates to the URL. If I scroll down, the WebBrowser control is not refreshed.

Is there a way to have all the detail records WebBrowser controls navigate properly on startup and have them refresh when I scroll up/down?

TIA,
Bitwelder
0
Comment
Question by:bitwelder
  • 2
3 Comments
 
LVL 58

Accepted Solution

by:
harfang earned 125 total points
ID: 16889902
Hello bitwelder

In a nutshell: No.

To have different information displayed in different rows of a continuous form, you need to use bound information. If a control is unbound, it will have only one single instance, and although you will see it several times (once in each row), it wll always be the same control. Single WebBrowser, single display.

Sorry.

(°v°)
0
 

Author Comment

by:bitwelder
ID: 16896890
Thanks for the reply.

If anyone has any suggested workarounds, I would appreciate it!

Thanks,
Bitwelder
0
 
LVL 58

Expert Comment

by:harfang
ID: 16899359
Bitwelder

A workaround that works in a continuous form? That would be tough.

However, you can perhaps write a local HTML frame page and load your different URL's in each frame. This could be displayed in the WebBrowser object.

It will be quite hard to synchronize this with a continuous form next to it, though...

On the other hand, if this is a web form, you might be able to use other tricks. I'm not even sure you need a WebBrowser control. Can't you generate HTML tags dynamically on a web form?

(Sorry, no working experience with those...)

(°v°)
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question