Aha! Group by hab ich noch nicht mal gekannt :-) Ich habe es jetzt damit versucht:
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. Und mit: sSQL= "SELECT DISTINCT Domain,Email,Blacklist, FROM Tabelle WHERE GMX='Y' Group by Domain" Set oRS = oConn.Execute(sSQL) Die Fehlermeldung: [Microsoft][ODBC Microsoft Access Driver] The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect. | 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
