There are many wonderful examples of custom fetch methods. Highlight the
Reports node of the AOT and right click to choose Find. Find methods named
fetch. You will see many examples.

On 3/30/09, seli ana <seli_ana_cute_...@yahoo.co.id> wrote:
>
>   hi, thanks for your answer.
>
> I think i already make some mistakes in my codes.
>
> But, i already set the correct data source and i move my code in fetch
> method.
>
> the data still not display. can you give me some code example in fetch
> method?
>
> Thanks for your help..
>
> --- On Tue, 3/24/09, Kristanto Surjadi 
> <kristantosurj...@yahoo.com<kristantosurjadi%40yahoo.com>>
> wrote:
>
> From: Kristanto Surjadi 
> <kristantosurj...@yahoo.com<kristantosurjadi%40yahoo.com>
> >
> Subject: [development-axapta] Re: Data is exist but not display in axapta
> report
> To: development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com>
> Date: Tuesday, March 24, 2009, 10:08 AM
>
> Hi Seli,
>
> Regarding question number 1:
>
> First of all your code placement is very unusual. Why do you put it in
> formLetterRemarks display method? it is better to put it in the fetch method
> on the report...unless you have your reason
>
> Your programable section, that you execute (using element.execute( 1)).
>
> What data you print on that section? Have you set correct data source on
> the field you want to print?
>
> Regarding question number 2:
>
> you can try either this.methodname or element.methodname, depends on where
> you create the methods.
>
> Regards,
>
> Kris
>
> --- In development- axa...@yahoogrou ps.com, "seli_ana_cute_ bgt"
> <seli_ana_cute_ b...@...> wrote:
>
> >
>
> > Hi all,
>
> >
>
> > I have created report in axapta with many data sources.
>
> >
>
> > 1. When i open the report, the data not display in report although data
> is exist in database. The code are :
>
> > display FormLetterTxt formLetterRemarks ()
>
> > {
>
> > ;
>
> >
>
> > while select formLetterRemarks where formLetterRemarks. FormLetter= =61
>
> > {
>
> > element.execute( 1);
>
> > }
>
> >
>
> > return formLetterRemarks. Txt;
>
> > }
>
> >
>
> > Is there any mistakes in my code? cause only this code not display any
> data.
>
> >
>
> > 2. how to use method that i already create
>
> > for example : i already create method 'A', and i want to use method 'A'
> in method 'B'. how to call the method 'A' in method 'B' code?
>
> >
>
> > Please help me cause i'm newbie in axapta.
>
> > Thanks very much..
>
> >
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
> 
>


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

Reply via email to