From: 116 on
I am very new to this, I am trying to have a function get the number from a
'Results' (MaxOfLN) and add '1' to it and populate a textbox (LN01)in a form.
I have been messing with...
<script type="text/vbscript">
Function LOTN
LN01 = MaxOfLN.value + "1"
Document.write(LN01)
End Function
</script>
I would call this in the 'Body' onload="". Any help would begreatly
appreciated.

Thanks
David
From: Mike Mueller on
I would recommend against not using vbScript client-side, as it will only
work in IE. I would probably go with javascript

"116" <116(a)discussions.microsoft.com> wrote in message
news:368B024A-971B-4FBB-B2FF-417587417CC0(a)microsoft.com...
>I am very new to this, I am trying to have a function get the number from a
> 'Results' (MaxOfLN) and add '1' to it and populate a textbox (LN01)in a
> form.
> I have been messing with...
> <script type="text/vbscript">
> Function LOTN
> LN01 = MaxOfLN.value + "1"
> Document.write(LN01)
> End Function
> </script>
> I would call this in the 'Body' onload="". Any help would begreatly
> appreciated.
>
> Thanks
> David