Jump to content

Creating a URL to search on Google


This topic is 7148 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all,

I have a simple company database and want a button which when clicked will search in Google for the company name.

I guess the URL will be http://www.google.com/search?&q=company name , but I can not work out how to join the field name onto the end of the URL using OpenURL in the scriptmaker.

I don't want to create another field to do this, surely it is simple to do ?

Any help is much appreciated.

Matt

Link to comment
Share on other sites

Hi Matt,

If I'm understanding you correctly, then you will need to create a field unless you want the same search each time. Which I doubt.

What I would do is to make a field that calculates out the desired URL path.

Two Fields

1). Use an existing field such as Company Name, or create a global field where the company name is entered prior to activating the script.

2). I'd call it something like c_URL_Google

c_URL_Google (calculation, Text Result) =

"http://www.google.com/search?&q="& Company Name

The script would or could be just one step.

Open URL [Field:

Link to comment
Share on other sites

If you are worried about overhead, you could use a global text field instead and use a script to set the contents of the global everytime someone hits the button.

Link to comment
Share on other sites

This topic is 7148 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.