Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Creating a URL to search on Google

Featured Replies

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

  • Author

I also want a button to search the postcode on StreetMap.co.uk smile.gif

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:

  • Author

Thanks Lee, thats what I thought I would have to do. Shame it can't be done without adding fields to the DB.

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.