hi can u help me i am trying to incremnt the recordset value with 1.
the asp code below
[HTML]dim selautono,rsaut on, autonobr
rsauton= server.CreateOb ject("ADODB.Rec ordset")
selautono="SELE CT ACPADMIN.Tbl_Re questInfo.reqid FROM ACPADMIN.Tbl_Re questInfo WHERE ACPADMIN.Tbl_Re questInfo.reqid =(SELECT MAX(ACPADMIN.Tb l_RequestInfo.r eqid) FROM ACPADMIN.Tbl_Re questInfo)"
set rsauton=MMToCon n.execute(selau tono)
if rsauton.eof then
autonobr= "1"
else
autonobr = rsauton("reqid" ) + 1
rsauton.close
end if[/HTML]
the code showing as Type mismatch
if u have any solution plz
the asp code below
[HTML]dim selautono,rsaut on, autonobr
rsauton= server.CreateOb ject("ADODB.Rec ordset")
selautono="SELE CT ACPADMIN.Tbl_Re questInfo.reqid FROM ACPADMIN.Tbl_Re questInfo WHERE ACPADMIN.Tbl_Re questInfo.reqid =(SELECT MAX(ACPADMIN.Tb l_RequestInfo.r eqid) FROM ACPADMIN.Tbl_Re questInfo)"
set rsauton=MMToCon n.execute(selau tono)
if rsauton.eof then
autonobr= "1"
else
autonobr = rsauton("reqid" ) + 1
rsauton.close
end if[/HTML]
the code showing as Type mismatch
if u have any solution plz
Comment