Oh.� That's a good answer I think. �That's probably it.� I didn't thought about the parameter, but indeed that could be the case.

 

Steeve...

-----Message d'origine-----
De : Sonny Wibawa Adi [mailto:[EMAIL PROTECTED]
om]
Envoy� : 22 avril 2004 22:53
� :
[EMAIL PROTECTED]
Objet : Re: RE : [development-axapta] "display" method

 

 

Hi,

 

 

Maybe, it's because the axapta compiler for X++ needs a display method to check the parameter syntax.
Because, you cannot create a display method using a complex arguments. Hence, the control will not be able to use any method other than display method, because non-display method has not been checked for complex arguments.

 

But I still a newbie, too in X++, so, maybe another arguments are better and acceptable.

 

Regards,

 

Sonny Wibawa Adi


Steeve Gilbert <[EMAIL PROTECTED]> wrote:

I can understand that, but why do I need to add the "display" keyword if I want to call the method from a control?  If I don't put "display" then it won't compile the object because a control is calling a non"display" method.  The message given is "Method getDateRange is not an edit/display method".

 

Steeve...

-----Message d'origine-----
De : Girish Bhatkal [mailto:[EMAIL PROTECTED]
Envoy� : 22 avril 2004 05:50
� : [EMAIL PROTECTED]
Objet : RE: [development-axapta] "display" method

 

Hi Steeve,

  i feel that the use of display is mainly to reduce the unnecessary adding of fields in the table (and hence increase the database size) , say for example if one table is used in many forms/reports and we need one particular field (which could be got from any other table with reference) to be displayed in only one report/form then it is better to use the display to show that record.

 

cheers,

Girish

-----Original Message-----
From: Steeve Gilbert [mailto:[EMAIL PROTECTED]
Sent: 21 April 2004 20:38
To: [EMAIL PROTECTED]
Subject: [development-axapta] "display" method

Purely for my knowledge, what's the use of having to put "display" when
we want a method to be called from a control?  Does the "display"
keyword enable some optimization?

Regards,

Steeve...


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�


Yahoo! Groups Links

Reply via email to