Guest_imported
New member
- Jan 1, 1970
- 0
I am still having problem with this code.
Here is the select part, the error it is throwing and where it is throwing the error.
I need your help, please!!!!!!!
SqlStmt = " SELECT Training.TrainingID, Training.Courses, " &_
" Training.CourseType, Training.PosNumber,Training.CourseStatus, " &_
" Reason.Reasons,Personnell.LastName,Personnell.FirstName, " &_
" Personnell.MiddleInitial,Personnell.HireDate,Personnell.JobTitle, " &_
" Personnell.DeptAssignedTo,Personnell.JobGrade,Personnell.AcctFund " &_
" FROM Personnell, Training,AccountingFund,Grading,Reason " &_
" WHERE Personnell.PosNumber = Training.PosNumber " &_
" AND Training.PosNumber = Reason.PosNumber " &_
" AND Reason.PosNumber = AccountingFund.PosNbr " &_
" AND AccountingFund.PosNbr = Grading.PosNbr " &_
" OR Personnell.LastName = " & "'" & Request.QueryString(" LastName "
& "'" &_
" OR Personnell.FirstName = " & "'" & Request.QueryString(" FirstName "
& "'" &_
" OR Personnell.JobGrade = " & "'" & Request.QueryString(" JobGrade "
& "'" &_
" OR Personnell.JobTitle = " & "'" & Request.QueryString(" JobTitle "
& "'" &_
" AND Personnell.PosNumber = " & iRecordId & "
"
This is the error:
Error Type:
(0x80020009)
Exception occurred.
viewHR_recs.asp, line 68
This is where line 68 is:
<TR>
<TD ALIGN=LEFT> <FONT CLASS='Arial10' COLOR=RED><B>
Position Number
</TD>
<TD ALIGN=LEFT>
<%
Response.Write("<INPUT TYPE='TEXT' NAME='Pos_Number' VALUE=" & rsGlobalWeb("posNumber"
& " >"
%>
</TD>
</TR>
Here is the select part, the error it is throwing and where it is throwing the error.
I need your help, please!!!!!!!
SqlStmt = " SELECT Training.TrainingID, Training.Courses, " &_
" Training.CourseType, Training.PosNumber,Training.CourseStatus, " &_
" Reason.Reasons,Personnell.LastName,Personnell.FirstName, " &_
" Personnell.MiddleInitial,Personnell.HireDate,Personnell.JobTitle, " &_
" Personnell.DeptAssignedTo,Personnell.JobGrade,Personnell.AcctFund " &_
" FROM Personnell, Training,AccountingFund,Grading,Reason " &_
" WHERE Personnell.PosNumber = Training.PosNumber " &_
" AND Training.PosNumber = Reason.PosNumber " &_
" AND Reason.PosNumber = AccountingFund.PosNbr " &_
" AND AccountingFund.PosNbr = Grading.PosNbr " &_
" OR Personnell.LastName = " & "'" & Request.QueryString(" LastName "
" OR Personnell.FirstName = " & "'" & Request.QueryString(" FirstName "
" OR Personnell.JobGrade = " & "'" & Request.QueryString(" JobGrade "
" OR Personnell.JobTitle = " & "'" & Request.QueryString(" JobTitle "
" AND Personnell.PosNumber = " & iRecordId & "
This is the error:
Error Type:
(0x80020009)
Exception occurred.
viewHR_recs.asp, line 68
This is where line 68 is:
<TR>
<TD ALIGN=LEFT> <FONT CLASS='Arial10' COLOR=RED><B>
Position Number
</TD>
<TD ALIGN=LEFT>
<%
Response.Write("<INPUT TYPE='TEXT' NAME='Pos_Number' VALUE=" & rsGlobalWeb("posNumber"
%>
</TD>
</TR>