>sSQL= "SELECT DISTINCT Domain FROM Tabelle WHERE GMX='Y' Group 
>by Domain"  Set oRS = oConn.Execute(sSQL)
>
>Erhalte aber die Fehlermeldung:
>
>Item cannot be found in the collection corresponding to the 
>requested name or ordinal.

 Nun das sagt das du ein feld anspricht das es nciht gibt

>Und mit:
>sSQL= "SELECT DISTINCT Domain,Email,Blacklist, FROM Tabelle 
>WHERE GMX='Y' Group by Domain"  Set oRS = oConn.Execute(sSQL)


>The SELECT statement includes a reserved word or an argument name that
is 
>misspelled or missing, or the punctuation is incorrect.
>

Das ist ein fehler der das gleiche wie oben sagt oder du benuzt ein word
das reseviert ist. 

Nun ich weiss ja nicht mache mal deine feld namen in ein [Domain]

Aber versuche doch erstmal dieses

SELECT [Domain] FROM Tabelle WHERE GMX = 'Y' Group by Domain


Gruss

Roman Pittroff
Consulting
Bangkok, Thailand


| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp

Antwort per Email an