One additional thing don’t
forget to set the company when going external, here is select statement I did on a memo
field sqlSTR = strFmt("select
recID from AAA_Tracker
where notes like '\%%1\%' AND dataAreaId =
'%2'", Part2, datAreaId); you can’t
do that in Axapta either. Don -----Original Message----- Hi
there! Can
i use the ORDER BY and the GROUP BY Clause in one SQL Statement? In
SQL92 it would look like this:
SELECT SUM(QTY) AS Qty, SUM(LINEAMOUNT) AS Amount,
ITEMID So i
tried it in Axapta:
while select sum(Qty), sum(LineAmount) from custInvoiceTrans group by ItemId
order by sum(LineAmount) desc But
the compiler raises a Syntax Error :-( Has
anybody an idea? Regards, Werner. Yahoo! Groups Links
|
- [development-axapta] Query with ORDER BY and GROUP ... Werner Briedl
- Re: [development-axapta] Query with ORDER BY a... Ing. Gonzalo Bastos S.
- RE: [development-axapta] Query with ORDER BY a... Don Price
- RE: [development-axapta] Query with ORDER BY a... Don Price
- RE: [development-axapta] Query with ORDER BY a... Pieter Wijnen
- RE: [development-axapta] Query with ORDER BY a... Malcolm Burtt