Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
&name in URL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00807280
Message ID:
00807368
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>I am using the following code to build a URL. NAME is a column name in my table. Even though &name is within quotes, it is picking up the value of the column NAME and inserting the value in the URL. I can not replicate this in the developer, only during execution. Any ideas how I can keep '&name' as a literal?
>
>URL = 'http://www.whitepages.com/search/Find_Person?firstname_begins_with=1&name_begins_with=0&firstname=&name=' + ;
> save_lname + '&city_zip=' + save_zip + '&state_id='

Hi Brenda, you can try this:
URL = 'http://www.whitepages.com/search/Find_Person?' + ;
  'firstname_begins_with=1~name_begins_with=0~firstname=~name=' + ;
  save_lname + '~city_zip=' + save_zip + '~state_id='

URL = STRTRAN(URL, "~", "&")

Read about the greatest fraud in the history of mankind.
See TaxableIncome.net.
Previous
Reply
Map
View

Click here to load this message in the networking platform