Hi guys,
How to use group by and order by at the same time in in memory table?
while
select sum(RemainAmount),sum(InterestAmount),DueDate
from tmpInterestNote
order by tmpInterestNote.DueDate asc
group by tmpInterestNote.DueDate
{
custInterestInfoLine = new CustInterestInfoLine();
custInterestInfoLine.parmDueDate(tmpInterestNote.DueDate);
custInterestInfoLine.parmInterestAmount(tmpInterestNote.InterestAmount);
custInterestInfoLine.parmRemainAmount(tmpInterestNote.RemainAmount);
custInterestInfoLineList.addStart(custInterestInfoLine);
}
Error:Temporary tables can have either Group By or Order By fields, but not both.
*This post is locked for comments