Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enable a web search using an on click event

Status
Not open for further replies.

julius1

Technical User
Oct 31, 2002
142
US
Im very lost here. I am trying to create a link using an entry in a form to show a web page based on that entry.

Here's how it is suppose to work.
When I click on a particular field (circuit id), it is suppose to use that value and open a page that I have the IP for, then enter it in the search field and perform the search and display the result associated to that field.

Like the circuit id, when that is clicked it is to open the clr search page website ( I have the ip for this), then it would be entered into the field and then the enter triggered then the search result should display in a web page. has anyone ever tried to to link a field in a form to do that?? Any help at all would be greatly appreciated.

julius.gazdag@centurytel.com
Im a Telco guy, I can get you where you want to go, but I can't guarantee it will work when you get there!
 
This is what I do:
Dim sURL As String
Dim retval As Variant

sURL = Me!OFRFile
'works with IP
'works with 'works with whatever.xml
'etc

retval = Shell("C:\Program Files\InternetExplorer\IEXPLORE.EXE " + sUrl, 1)
 
Ok, how would i get that to go????
The field I can se as the retval as variant, but the ip address and the enter into search field would be set as how in that code?
I apologize I have never tried to incorporate web look ups in the access program before

julius.gazdag@centurytel.com
Im a Telco guy, I can get you where you want to go, but I can't guarantee it will work when you get there!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top