Hi All,
I am trying to convert a negative number to positive for a report and am getting errors: 1-Unknown source for data method Quantity 2-Operand Types are not compatible with the operator. Can anyone tell me what I am doing wrong? InventJournalTrans_Qty is a field in my report. My method is as follows: display real Quantity() { real result; // if (InventJournalTrans_Qty < 0) ) result = InventJournalTrans_Qty * -1; else result = InventJournalTrans_Qty * 1; // return result; } Thanks in advance for this and the help I have received. I sincerely appreciate it. Bob Bob Brinker Oakdene Group, Inc. 2625 Butterfield Rd. (Suite 212E) Oak Brook, IL 60523-1261 [EMAIL PROTECTED] ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/