How to leave my script and move on

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am executing some script that accesses an access database. Deep within my
code I have coded in a condition such that if a certain value is pulled from
the database I want to halt the code and move further down the web page.
Currently, I am just using response.end, but that means the rest of the html
on my web page is not visible. How can I terminate a script before end of
file and move on to more html on the web page.
Thanks, Dave
 
Put the critical code section into a sub or function and then
if condition=true then exit sub

BTW it's an Access group, not asp
 
Thanks, I'll do that.

Alex Ivanov said:
Put the critical code section into a sub or function and then
if condition=true then exit sub

BTW it's an Access group, not asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top