Hi all,
I am creating an ASP page, and I want it all on one page.
I have 3 functions, and I give the user a choice at the beginning of the page on what they want. Add, edit, or delete a record.
That list box is called varSelect. Can I use a function like this:
If varSelect=ADD Then
goto sub1
Else IF varSelect=EDIT
goto sub2
Else IF varSelect=DELETE
goto sub3
End IF
Is this allowed? And if so, do I have the syntax correct.
Thanks for any help.
mot98..![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
"Where's the beer?"
I am creating an ASP page, and I want it all on one page.
I have 3 functions, and I give the user a choice at the beginning of the page on what they want. Add, edit, or delete a record.
That list box is called varSelect. Can I use a function like this:
If varSelect=ADD Then
goto sub1
Else IF varSelect=EDIT
goto sub2
Else IF varSelect=DELETE
goto sub3
End IF
Is this allowed? And if so, do I have the syntax correct.
Thanks for any help.
mot98..
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
"Where's the beer?"