Display Web Page in Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to display a web page in a form. The URL data must come from
another field in the form.

I can understand the following method:

Private Sub Form_Load()
Me!Browser1.Navigate "www.routeone-design.com"
End Sub

But how do I get the browser to display the URL from another field in the
form?

Help appreciated
David
 
in message:
I am trying to display a web page in a form. The URL data must come from
another field in the form.

I can understand the following method:

Private Sub Form_Load()
Me!Browser1.Navigate "www.routeone-design.com"
End Sub

But how do I get the browser to display the URL from another field in the
form?

Hi David,

This worked for me. I have a field in the table called WebPath and a control
on the form with the same name. This is in Single Form view. Use the Current
event of the form instead of the Load event.

Dim strPath As String

strPath = Me.WebPath

Me!Browser1.Navigate strPath

Worked Ok in my quick test, however, a bit slow of course moving to
different records.

Hope that helps,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top