Link to home
Start Free TrialLog in
Avatar of bitwelder
bitwelder

asked on

Web Browser Control/Continuous Forms in Access 2000

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
ASKER CERTIFIED SOLUTION
Avatar of Markus Fischer
Markus Fischer
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bitwelder
bitwelder

ASKER

Thanks for the reply.

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

Thanks,
Bitwelder
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°)