Thread: Re: Performance of a form with display Methods
Re: Performance of a form with display
Methods
United States
2007-08-22 11:52:28
Oh! Simple, just go to Tools, Options, there's a scroll bar
called "Performance", just drag it all the way to the right and that
should do it. Just kidding.
>From what you explain, the performance problem is caused by your
display methods. So if you want to raise performance you need to
optimize code in thoses methods.
You could also use yourDataSource.cacheAddMethod(...). What it does
is caching the result of your display method for each record. So
that way, your display method will only be run once and not over and
over again for every refresh called by the form. For more info check
out : KERNDOC://Classes/FormDataSource/cacheAddMethod
Steeve...
--- In development-axapta%40yahoogroups.com">development-axaptayahoogroups.com, Jörg Skrodzki
<j.skrodzki...> wrote:
>
> Hello,
>
> I am working with DyAx 4.0. I designed a form where some fields are
> calculated by display methods, which I implemented in the table.
Then i
> put some fields and the methods in a fieldgroup. This fieldgroup is
> dropped in a grid.
>
> When I open the form the peformance is very poor. How can I raise
> performance. Thanks for your help
>
> thanks in advance
> Joerg
>