Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
&name in URL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00807280
Message ID:
00807368
Vues:
17
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform