On Wed, 2005-06-01 at 15:32 +0200, Christofer Dutz wrote:
> Hi,
> 
> how can I set a vaiable and use it outside the macro it das 
> defined/redefined. Unfortunately the definitions/changes aren't 
> accessible outside.
> In my case I set a total variable to 0 and calculate a total over a 
> repeater field (which works if I output the variables value inside the 
> repeater loop).
> Outside the loop all changes are lost. There has to be a way for me to 
> do this calculation. Can anyone help me with this?
> 

First define a global (outside) variable, then just add an on-submit
event which will sync your global with your local variable (loop).

HTH
salu2

> Thanks in advance,
>     Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to