Re: Passing values from one form to another
[code:29qpir53]
function exit (matnr1,lines)
{
if (lines=='10')
opener . document . name1 . zdist+lines. value = matnr1;
if (lines=='20')
opener . document . name1 . zdist+lines. value = matnr1;
close ();
}
[/code:29qpir53]
One thing I'm concerned, is that you must ensure that 2nd argument, which is being passed to [b:29qpir53]lines[/b:29qpir53] variable is a string to satisfy your else-if statement.
Hope that helps.