What does the code on line 11 look like? How are you attempting to get your
count value? You're not doing yourRS("username"), are you?
Does this query work when you copy and paste it into the query window in
Access?
Ray at home
"Jeff" <> wrote in message
news:msqdncK7WLbcBljeRVn-...
> ok. using access and asp, can someone tell me why i would be getting this
> error?
>
> script
>
> set admin4 = conn.execute("select count(username) as cnt3 from members2
> where username not in (select top 16 username from members2 order by
> total_score desc)")
>
> error
>
> Item cannot be found in the collection corresponding to the requested name
> or ordinal.
>
> /GIG/Tourney/admin/td_admin.asp, line 11
>
> username and total_score are both in the table. could it be because there
> aren't 16 records present yet??
>
> Bam
>
>
|