Re: Can't use string in request.form by Bob
Bob
Wed Jun 07 09:08:50 CDT 2006
Eric wrote:
> Any one see whats wrong with this? How can I get around it
>
> echo "REAL " & aryImf(CDC_FIELD,intFields) & "<BR>"
> echo "STRING " & Request.Form(aryImf(CDC_FIELD,intFields)) & "<BR>"
>
>
>
> My output says
>
> REAL imf_origin
> STRING
Verify that your form has a field called imf_origin, and that it has a
value:
dim formvars,key
set formvars = request.form
for each key in formvars
echo key & ": """ & formvars(key) & """<BR>"
next
echo "REAL " & aryImf(CDC_FIELD,intFields) & "<BR>"
echo "STRING " & formvars(aryImf(CDC_FIELD,intFields)) & "<BR>"
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.