Hello all,

thank you for your help. It has helped me a lot.

Unfortunally I now have another problem. I have been trying to
follow a tutorial
about reports. I have created a report that prints customer
information from the
custtable.

I add a class to call the report and - among othr things - add a
YesNo to the
report dialog. If checked the report should not print the customer
address.

According to my tutorial I should add the following code to the
class run() method:

void run()
{
    if(printdetails)
    {
      CustTable_Address.visible(true);
    }
    else
    {
      CustTable_Address.visible(false);
    }
    super();
}

According to the tutorial I shold set the address field in the
designpart of the report
as autodeclaration = yes. Unforfunally I do not have this property.
Is this because I
am running Axapta 2.5 and the tutorial is made for 3.0?

How can I move on and somehow from my class call the visible method
on the reportfield?




--- In [email protected], Axapta Mind
<[EMAIL PROTECTED]> wrote:
>
> Hi Thomas,
>
> I hope Erik's solution must have worked well for you.
>
>
> On 12/15/05, cdlmalherbe01 <[EMAIL PROTECTED]> wrote:
> >
> > Hi Thomas,
> >
> > I'm still learning the Axapta ropes, but I've sent you an XPO
which
> > does what you want.
> >
> > Regards,
> >
> > Christoph
> >
> > --- In [email protected], "Thomas"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I have a form displaying the empltable in a grid. On the same
form
> > I
> > > have a button. On the datasource (empltable) I have created a
> > method
> > > that I would like to call when clicking the button in the form.
> > How do
> > > I do this? I cant find the correct syntax. I have tried with
> > element
> > > and this but without any luck.
> > >
> > > Further I would like to add another button that filters only
the
> > > employees that have status "Employed" in the empltable. I
think I
> > can
> > > do this by overriding the filter method on the datasource
> > (empltable).
> > > Can anybody help me doing this. It must be something like:
> > >
> > > filter(fieldname2id(tablename2id
> > ("emplTable"),"status"),"Employed");
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Best Regards,
> Axapta Minds
>
>
> [Non-text portions of this message have been removed]
>









SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to