I am still getttin the same Error on Page nad the same above errror in the errorlog file,
ExportSql = "cp.dbo.spCode"_
& "@BCode=" & dbQuoteOrNull(sBCode) & " ,"_
& "@F_Ind =" & dbQuoteOrNull(bF_Ind) & " ," _
& "@S_Ind=" & dbQuoteOrNull(bS_Ind)& " ," _
& "@Active =" & dbQuoteOrNull(bActive) & " ," _
& "@ACF=" & dbQuoteOrNull(bACF)& " ," _
& "@BaseInd =" & dbQuoteOrNull(bBaseInd) & " ," _
& "@MHN=" & dbQuoteOrNull(bMHN)& " ," _
& "@SHEVHO=" & dbQuoteOrNull(bSHEVHO)
rs.open ExportSql, c,adOpenStatic,adLockReadOnly,adCmdTxt
PageCount = rs.pagecount
iTotalRecs = rs.recordcount
This is wht i have written and u asked me to put the response.write stmt. still im gettin the same error on page
The output if i write the response.write(ExportSql)
cp.dbo.sp_Code@BCode=NULL ,@F_Ind =NULL ,@S_Ind=NULL ,@HIPC=NULL ,@Active =NULL ,@ACF=NULL ,@BaseInd =NULL ,@MHN=NULL ,@SHEVHO=NULL
what should be the possible error ???????
plus another thing i have noticed is after
rs.open ExportSql, c,adOpenStatic,adLockReadOnly,adCmdTxt
this stmt i m gettin the Application Error. i should actually get
cp.dbo.sp_Code@BCode=NULL ,@F_Ind =NULL ,@S_Ind=NULL ,@HIPC=NULL ,@Active =NULL ,@ACF=NULL ,@BaseInd =NULL ,@MHN=NULL ,@SHEVHO=NULL
So is there any problem with
rs.open ExportSql, c,adOpenStatic,adLockReadOnly,adCmdTxt
Please help
thanks in advance