Tony,
 
Thanks so much but actually I want to prevent the printing of bodysection if the return value of display methos is zero so how can I bypass the printing of bodysection if value is zero?.
 
Thanks in advance.
 
Ahmed

Tony Depalo <[EMAIL PROTECTED]> wrote:
One way of doing this is to have your display method return a str.  Then within your display
display str yourAnswer()
{
if(your answer <> 0)
    StrFmt('%1',YourAnswer;
return '';
}
 
I think there is a property Show Zero that might also work?
Tony
 
-----Original Message-----
From: mbsdeveloper [mailto:[EMAIL PROTECTED]
Sent: Monday, 6 December 2004 3:38 PM
To: [EMAIL PROTECTED]
Subject: [Axapta-Knowledge-Village] Section Printing in Report.



Dears,

I created a display method in the body section to do some
calculations, that works fine but actually I don't want the body
section to be printed if the value of the function is zero. so can
someone tell me how to do it?

regards
  Ahmed







Sharing the knowledge on Axapta.




Sharing the knowledge on Axapta.



Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.

Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to