Hi, I am changing it in the getfromdialog... if (ItemGroup == '2') element.design("ReportDesign2"); else element.design("ReportDesign1");
it works fine for me.... just check this also.... PRASANNA --- In Axapta-Knowledge-Village@yahoogroups.com, "ricardodegouveia" <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm trying to create multiple designs for the salesinvoice report as i > want a different layout of the report for different customer groups. > > I hae copied the "standard" design and named it "copyofstandard" and > changed the layout.Now how do i get it to call my new design for the > specific customer group? I have tried the "element.desgin > (copyofstandard);" command in the init method but i just goes into an > endless loop or something. > > Can anyone tell me whats wrong? > Thanking you in advance. > Ricardo >