Solved

Web Browser Control/Continuous Forms in Access 2000

Posted on 2006-06-12
3
372 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
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 stored procedures 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 Micr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now