Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

If I use Firefox and go to the Google search page (www.google.com) and type in [color:"purple"]"prd-13", and press Enter, the resulting page has an URL of: [color:"blue"]http://www.google.com/search?hl=en&q=[color:"purple"]prd-13&btnG=Google+Search

Using this as a guide, within my database, I created a local text field, called [color:"green"]"GoogleMe" and a button that calculates the URL:

[color:"orange"]"http://www.google.com/search?hl=en&q=" & [color:"green"]GoogleMe & "&btnG=Google+Search", but when I press the button, the URL of the "bad" page that results is:

[color:"blue"]http://www.google.com/[color:"red"]/search?hl=en&lr=&q=[color:"purple"]prd-13&btnG=Google+Search (note the extra slash after google.com)

I found a workaround by using an extra slash and asterix in the calculated URL:

[color:"orange"]"http://www.google.com" & "[color:"red"]/*/search?hl=en&lr=&q=" & [color:"green"]GoogleMe & "&btnG=Google+Search", but the resulting "good" page has an URL of:

[color:"blue"]http://www.google.com//*/search?hl=en&lr=&q=prd-13&btnG=Google+Search

I would prefer to stick to "standard" URL construction. Is there any way to make the extra slash go away?

(FMD7 Win2k)

Posted

Here's an interesting tidbit. If you use a back slash, "", in front of the "search" word, instead of "/", it works right. So, make your calc look like this:

"http://www.google.comsearch?hl=en&q=" & googleMe & "&btnG=Google+Search"

HTH

Adam

This topic is 7301 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.