I am getting a strange error when calling a sub Form.
My Main code looks like this:
IF varSelect="ADD" Then
call addForm
ElseIf varSelect="EDIT" Then
call editForm
EsleIf varSelect="DELETE"
call deleteForm
End IF
When it goes to sub addForm I get an error saying:
Microsoft VBScript compilation error '800a0411'
Name redefined
/ASS3P1.asp, line 51
sub addForm()
----^
Why is this happening?
Any help would be greatly appreciated.
Thanks, mot98..![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
"Where's the beer?"
My Main code looks like this:
IF varSelect="ADD" Then
call addForm
ElseIf varSelect="EDIT" Then
call editForm
EsleIf varSelect="DELETE"
call deleteForm
End IF
When it goes to sub addForm I get an error saying:
Microsoft VBScript compilation error '800a0411'
Name redefined
/ASS3P1.asp, line 51
sub addForm()
----^
Why is this happening?
Any help would be greatly appreciated.
Thanks, mot98..
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
"Where's the beer?"