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

Re: Can't use string in request.form by Ray

Ray
Wed Jun 07 08:51:34 CDT 2006

What is the value of aryImf(CDC_FIELD,intFields)?

Echo that out. Then, verify that your form object actually has a field by
that name.

Ray at work

"Eric" <nomail@domain.tld> wrote in message
news:128buuhquhegs8d@corp.supernews.com...
> 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



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.