|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Why can't i get a count?
I want to make sure the item doesn't already exist so
SQLcmd = "SELECT COUNT(*)AS [Count] FROM basicinfo WHERE uname = '" & uuname & "'" set rscount = conntemp.execute(SQLcmd) response.Write rsCount(Count) I get the error Item cannot be found in the collection corresponding to the requested name or ordinal |
|
#2
|
||||
|
||||
|
Code:
SQLcmd = "SELECT COUNT(*)AS [RCount] FROM basicinfo WHERE uname = '" & uuname & "'"
Set rscount = conntemp.execute(SQLcmd)
response.Write rsCount("RCount")
|
|
#3
|
|||
|
|||
|
Quote:
ever so grateful |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Why can't i get a count? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|