shanuragu
06-18-2003, 04:29 AM
When I use the following code to fetch records
For i=0 To UBound(a)
strsql = "SELECT * from CdPrice Where CountryId="&ConId&" And CdTitleId="&a(i)&""
Response.write("query" & strsql & "<br>")
Set RsCdPrice=Con.Execute(strsql)
'RsCdPrice.open strsql,Con,adlockoptimistic,adcmdtable
Next
& text for record count it will always be -1 why????
ShaRa
For i=0 To UBound(a)
strsql = "SELECT * from CdPrice Where CountryId="&ConId&" And CdTitleId="&a(i)&""
Response.write("query" & strsql & "<br>")
Set RsCdPrice=Con.Execute(strsql)
'RsCdPrice.open strsql,Con,adlockoptimistic,adcmdtable
Next
& text for record count it will always be -1 why????
ShaRa