Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP - Request Object
Message
 
À
22/02/2000 07:18:34
Scott Knight
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00334833
Message ID:
00335307
Vues:
12
>I worked some additional problems getting this to work properly. I think the only change is adding the .item() to the end of Request.form(x). Request.form(x) returns the value from the request but it was Object data Type. Request.form(x).Item() returns the same value except it is a character string which is what I was after. The following snippet builds a string from each of the Items and corresponding values and sends it back to the browser for display.
>
>Parameter loRequest
>lcRetStr =""
>For each x in loRequest.Form
> lcItemname = x
> lcItemValue = loRequest.form(x).Item()
> lcRetStr = lcRetStr + "
Item Name : " + lcItemname + " ---> Item Value : " + lcitemvalue
>Next
>return lcRetStr
>
>Scott

Ah, you are right. I remember this now from a previous debug session long ago and far away. I'll patch the example I added to my "how to" files.

Thanks,
Mike
Michael McLain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform