HI Yna you can try this query.dataSourceNo(2).orderMode(OrderMode::GroupBy); query.dataSourceNo(2).addSortField(FieldNum(tmpBancos, AccountID))
regadrs --- In Axapta-Knowledge-Village@yahoogroups.com, "rmrallistan" <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm designing a new report from scratch and would like to do group by > from a certain field. How can I do this? A sample code will be much > appreciated. Thank you very much! > > Yna > AX Newbie >