RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-06 Thread Varden Morris
You are most welcome.Ahmed Ibrahim <[EMAIL PROTECTED]> wrote: Varden,   Thanks, it's working fine   Regards   AhmedVarden Morris <[EMAIL PROTECTED]> wrote: Hi Ahmed   All you need to do is make the call to super() in the executeSection method of the section conditional. That is, override the e

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-06 Thread Ahmed Ibrahim
Varden,   Thanks, it's working fine   Regards   AhmedVarden Morris <[EMAIL PROTECTED]> wrote: Hi Ahmed   All you need to do is make the call to super() in the executeSection method of the section conditional. That is, override the executeSection method of the section that you want to print cond

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-06 Thread Varden Morris
Hi Ahmed   All you need to do is make the call to super() in the executeSection method of the section conditional. That is, override the executeSection method of the section that you want to print conditionally and do something like this:   if (FunctionValue() != 0)     { super(); }   T

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-06 Thread Ahmed Ibrahim
Peng,   I'm sorry, I could't understand what is meaning by YourSession and where can I write this code. I appreciate if you could give me more clarifications.   Regards   AhmedPeng Qing Hua <[EMAIL PROTECTED]> wrote: Hi, ahmed   Can you do some like this?   If (SomeFiledValue==0) YourSes

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-05 Thread Ahmed Ibrahim
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.   AhmedTony Depalo <[EMAIL PROTECTED]> wrote: One way of doing this is to hav

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-05 Thread Ahmed Ibrahim
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.   AhmedTony Depalo <[EMAIL PROTECTED]> wrote: One way of doing this is to have

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-05 Thread Peng Qing Hua
Hi, ahmed Can you do some like this? If (SomeFiledValue==0) YourSession.visable(false); Best Regard! Andy. Peng Qing hua -Original Message- From: mbsdeveloper [mailto:[EMAIL PROTECTED] Sent: 2004年12月6日 13:38 To: [EMAIL PROTECTED] Subject: [Axapta-Knowledge-Village] Secti

RE: [Axapta-Knowledge-Village] Section Printing in Report.

2004-12-05 Thread Tony Depalo
Title: Message 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-