Pls. do comments here in my querywhy i got an error?VB Code:
rsbrand.Open "SELECT MARGIN, BRAND, SUM(ADAMOUNT) as adamount1 FROM INITIAL_QUOTE_DETAIL GROUP BY BRAND ORDER BY BRAND", conn, adOpenDynamic, adLockOptimistic![]()
Error occured: "You tried to execute a query that does not include the specified expression MARGIN as part of an aggregate function"
Any help really appreciated... Thanks in advance![]()




Reply With Quote