|
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-----
Hi,
Maybe, it's because the
axapta compiler for X++ needs a display method to check the parameter syntax.
But I still a newbie, too in X++, so, maybe another arguments are better and acceptable.
Regards,
Sonny Wibawa Adi
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-----
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
Do you Yahoo!? |

