Solved

Web Browser Control/Continuous Forms in Access 2000

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

911 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