How do you call a sub (within the same file as the form) when the user clicks the submit button? I have a asp file written with HTML and VBscript that I want to use for adding, editing, or deleting a record set of my access database. I want this to all be done within one asp file so I don't have to have six smaller files (form for adding, file to complete the adding, form for editing, file to complete editing, etc.)
Is this possible? I have all the code written but I just don't know how to get the submit button to call my sub. I can provide the code if anyone wants to see what I'm talking about.
I'm a newbie here so you won't insult me with idiot instructions!
Thanks,
Amy
Is this possible? I have all the code written but I just don't know how to get the submit button to call my sub. I can provide the code if anyone wants to see what I'm talking about.
I'm a newbie here so you won't insult me with idiot instructions!
Thanks,
Amy