---
title: "Konstigt fel!"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/65100-konstigt-fel"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "DiDjo"
published: "2003-01-16T16:54:15.000Z"
updated: "2003-01-16T17:01:09.000Z"
replies: 2
views: 146
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/65100-konstigt-fel"
---

# Konstigt fel!

## #1 — DiDjo, 2003-01-16T16:54Z

Varför säger den detta:

```
ADODB.Recordset error '800a0cc1' 
Item cannot be found in the collection corresponding to the requested name or ordinal. 

/start.asp, line 68
```

Så här ser koden ut:

```
<%
SQL1 = "SELECT TOP 5 * FROM anv ORDER BY loggain DESC, anv"

Set Rs = Connect.Execute(SQL)
Do Until Rs.EOF
Response.Write "<tr>"
68-->Response.Write "<td width=100 align=left><font size=""1"">"&  Rs("anv") & "</td>"
Response.Write "<td width=200 align=center><font size=""1"">" &  Rs("loggain") & "</td>"
Response.Write "</tr>"
Rs.MoveNext

Loop

%>
```

Jag vill se vilka som senast loggade in! Kolumnen heter "anv" så varför fungerar det inte?

Permalänk: https://www.webforum.nu/p/65100

## #2 — CatZ, 2003-01-16T16:56Z

```
SQL1 = "SELECT TOP 5 * FROM anv ORDER BY loggain DESC, anv"

Set Rs = Connect.Execute(SQL[b]1[/b])
```

Du kan återanvända dina SQL direkt efter att den blivit exekverad.

Permalänk: https://www.webforum.nu/p/917077

## #3 — DiDjo, 2003-01-16T17:01Z

å fan! Så simpelt... hähähähä borde jag sett själv.... Tackar så mycke

Permalänk: https://www.webforum.nu/p/917080

---

Tråden på webben: https://www.webforum.nu/amne/asp/65100-konstigt-fel
