What if you create 2 prologs, 1 for each option and write those executeSection():

// Prolog if option 1 is selected
public void executeSection()
{
    if (option1) {
        super();
    }
}

// Prolog if option 2 is selected
public void executeSection()
{
    if (option2) {
        super();
    }
}

Depending on the option selected, only one of the prolog will be executed.

Steeve...


-----Message d'origine-----
De�: Jason Crook [mailto:[EMAIL PROTECTED]
Envoy�: 15 juillet 2004 08:44
��: [EMAIL PROTECTED]
Objet�: RE: RE : [development-axapta] call a prolog through code

Hi

Thanks for the reply the problem with calling the super is need 2 different types of prologs depending on what option I choose, or which user prints it ,ive tried using the super to call it but it doesn't seem to help.

Jason...



________________________________

From: Steeve Gilbert [mailto:[EMAIL PROTECTED]
Sent: 15 July 2004 14:15
To: [EMAIL PROTECTED]
Subject: RE : [development-axapta] call a prolog through code



I'm not sure I understand what you need.  Can you just create a Prolog section and only call super() (in executeSection()) when you want it to print or not?

Steeve...


-----Message d'origine-----
De : mud_mullet [mailto:[EMAIL PROTECTED]
Envoy� : 15 juillet 2004 04:24
� : [EMAIL PROTECTED]
Objet : [development-axapta] call a prolog through code

Hi All
I am writing a report and need a prolog to pull up through code on
the actual report , the reason for this is the whole report is set
up through programable sections ,and i need to call for this prolog
if neccesary ,it is not always needed.

Any suggestions

thanks in advance

Jason






Yahoo! Groups Links










Yahoo! Groups Sponsor

ADVERTISEMENT
click here <http://us.ard.yahoo.com/SIG=129q5dtt5/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1089980390/A=2128215/R=0/SIG=10se96mf6/*http:/companion.yahoo.com>

<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=608139844>



________________________________

Yahoo! Groups Links

*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]






Yahoo! Groups Links







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to