p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Request.Form


Message #1 by phillip.a.kimble@g... on Wed, 19 Sep 2001 21:34:51
I was afraid that was the answer I would get.  Anyway, thanks for 
confirming the issue.

PAK 


You cannnot assign a value to Request.Form Object..
> 
> Pon
> 
> > -----Original Message-----
> > From: phillip.a.kimble@g... [mailto:phillip.a.kimble@g...]
> > Sent: Wednesday, September 19, 2001 5:35 PM
> > To: Code Clinic
> > Subject: [proasp_codeclinic] Request.Form
> > 
> > 
> > I have a Form that can assign multiple values to a Form 
> > variable (Named 
> > ALC)which will be passed into my .asp program.  My .asp 
> > program must loop 
> > through the multiple ALCs several times checking for various 
> > conditions.  
> > For certain conditions, I would like to change the value of 
> > the ALC, but I 
> > get an error when I try to do this.  My code and the error are shown 
> > below.  
> > 
> > Thanks for any help you can give me!
> > 
> > CODE:
> >   If objRS("ALC") = Request.Form("ALC") (intLoop) Then
> >     Request.Form("ALC") (intLoop) = ""
> > 
> > ERROR:
> >   Microsoft VBScript runtime (0x800A01C2)
> >   Wrong number of arguments or invalid property assignment: '[object]'
> > 
> > Thanks again,
> > PAK
> > 

  Return to Index