[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

Passing object parameter from one webform to another

Ebbe Jensen

10/14/2005 7:10:00 AM

Is it possible ? If the answer is yes, how do one do it ?

Regards, Ebbe
1 Answer

hghrp

10/18/2005 4:40:00 PM

0

Hi Ebbe,

if the second form is called by the first, then you can use the
this.args().caller() functionality and parameter methods from the caller, e.g.

in the parent form (XYZ is defined in the classDeclaration):
integer parmXYZ(integer _XYZ = XYZ)
{
;
XYZ = _XYZ;
return XYZ;
}

in the child form:
....
xyz = this.args().caller().parmXYZ();
....
this.args().caller().parmXYZ(whateverToPassBack);
....

Hth,
harald

"Ebbe Jensen" wrote:

> Is it possible ? If the answer is yes, how do one do it ?
>
> Regards, Ebbe