Problemer med GROUP BY
Hvordan kan det være at jeg ved følgende kode:Set Rs1 = Conn.Execute("SELECT Format, SUM(Antal), Format, Prisen FROM bestilling WHERE id = '" & replace(request.servervariables("REMOTE_ADDR"), ".", "") & "' GROUP BY Format")
Do While NOT Rs1.EOF
Får fejlen:
[Microsoft][ODBC Microsoft Access Driver] You tried to execute a query that does not include the specified expression 'Prisen' as part of an aggregate function.