Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP - Request Object
Message
 
 
To
22/02/2000 07:18:34
Scott Knight
Human Resources Development Canada
St. John's, Newfoundland, Canada
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00334833
Message ID:
00335307
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform