Hi! Sorry f�r die dumme Frage, aber anscheinend bin ich echt zu bl�d!
Bisher arbeitete ich mit einer Access-Datenbank, jetzt hab ich eine
MySQL-DB. Ich hab ein asp-Script, dass mir die Datens�tze z�hlt:
sql = "SELECT meinung.name, Count(meinung.name) AS anzahl FROM meinung WHERE
(((meinung.forumID)<10000)) GROUP BY meinung.name HAVING (((meinung.name)="
& Int(id) & "));"
rs2.open sql, conn, 3, 2
if rs2.eof then
artikelposts = "0"
else
artikelposts = rs2("anzahl")
end if
rs2.close
...das mach ich mit einigen tabellen und jetzt will ich die zusammenz�hlen:
posts = Int(artikelposts) + Int(profilposts) + Int(forumposts) +
Int(clubposts)
..das ging mit der Access-DB, aber jetzt mault er.
Microsoft VBScript runtime error '800a01ca'
Variable uses an Automation type not supported in VBScript
/epos4/profil_statistik.asp, line 50
Hat wer eine Ahnung was da falsch ist??
Danke, Harald
| 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