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,
 
Back
Top