Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP (http://www.programmingforums.org/forum32.html)
-   -   string and forms (http://www.programmingforums.org/showthread.php?t=4290)

Intimidat0r Jun 3rd, 2005 3:32 PM

string and forms
 
okay i have this asp code but it won't work for me. it's being submitted to by another page that has a form component called txtTeacher and im trying to assign a variable to its value

:

Set TeacherName = Request.Form(txtTeacher)

here's the error message

Request object error 'ASP 0102 : 80004005'

Expecting string input

/goldteam/teachers/security.asp, line 20

The function expects a string as input.

PhillipH Jul 10th, 2005 1:24 PM

take out the word Set

TeacherName = Request.Form(txtTeacher)


All times are GMT -5. The time now is 12:52 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC