J
John C
Hi all,
How can I create a Global subroutine.
I have the following local subroutine,
<script language="VBScript">
Sub PrintDetails(CompName, Discount)
document.writeln(Date)
document.writeln("Coupon from " & CompName)
document.writeln("Your discount is " & Discount & "% !!!")
End Sub
</script>
but needs to be called from many forms. Thus needs to be global visible!
How do I set that up?
TIA,
John
How can I create a Global subroutine.
I have the following local subroutine,
<script language="VBScript">
Sub PrintDetails(CompName, Discount)
document.writeln(Date)
document.writeln("Coupon from " & CompName)
document.writeln("Your discount is " & Discount & "% !!!")
End Sub
</script>
but needs to be called from many forms. Thus needs to be global visible!
How do I set that up?
TIA,
John