Thanks!!

--- In Axapta-Knowledge-Village@yahoogroups.com, "Subbu" 
<[EMAIL PROTECTED]> wrote:
>
> Hi 
> You will have to use a container class...below is the code sniplet
> 
> Caller side :
> Declare a container
> 
> Container c;
> 
> Load the container with yoru values
> 
> c = [item1,item2,item3]
> 
> then use container class to pack the object to the parameter
> 
> 
> 
>     containerSUNConfirmation = 
> [SUNSalesConfirmation.CustomerAccount,queryRange];
>     args = new args();
> 
>     args.name(formStr(SUNSalesApprovalTable));
>     args.parmobject(NEW containerClass(containerSUNConfirmation));
> 
> 
> On the receiving end: ( ideally in the init method ) 
> parse as below
> 
> 
> ContainerClass  CC;
>  Container C;
> 
> 
> 
> 
> 
>   CC = element.args().parmObject(); - get the container class object
>   C = CC.value(); // get the container
> 
>   custAccount = conpeek(C,1); //get the container values
>   QueryRangeForCustConfirm = conpeek(C,2);
> 
> 
> 
> 
> - Subbu
> OneNeck IT services
> 
> 
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, Varden Morris 
> <vardenm@> wrote:
> >
> > Did you look at the args class?
> >  
> > Varden Morris 
> > 
> > MCDBA, MCT
> > 276 Taralake Terrace N.E. 
> > Calgary, Alberta T3J 0A1 
> > Canada 
> > 
> > (403) 366-8434 (H) 
> > (403) 615-1604 (C)
> > vardenm@
> > 
> > 
> > 
> > 
> > 
> > 
> > ________________________________
> > From: k_otickashka <k_otickashka@>
> > To: Axapta-Knowledge-Village@yahoogroups.com
> > Sent: Friday, November 14, 2008 8:10:07 AM
> > Subject: [Axapta-Knowledge-Village] Pass more than one value
> > 
> > 
> > How can I pass more than one value from a form to a next form?
> >
>



Reply via email to