Hi guys, i need some help. Below is my fetch method that always return "Report is empty". In InventTrans, currently i have record in that range. ..strange...is there any solution ?
public boolean fetch() { InventTrans _inventTrans; boolean ret; Query QueryInventTrans = new Query(); QueryBuildDataSource bds = QueryInventTrans.addDataSource(TableNum(InventTrans)); QueryBuildRange br = bds.addRange(fieldNum(InventTrans,Qty)); QueryRun qr = new QueryRun (QueryInventTrans); br.value('1..500'); while (qr.next()) { InventTrans = qr.get(tablenum(InventTrans)); } ret = true; return ret; } -setiaji- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> What would our lives be like without music, dance, and theater? Donate or volunteer in the arts today at Network for Good! http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/