redirecting the page based on the error

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default redirecting the page based on the error

    Hello All,

    I have a page the give me the error shown below once there is no record to
    update. What I want instead of the error been shown I want the page to be
    redirected to another page. Please help. Thanks.


    ERROR SHOWN ON THE PAGE

    ADODB.Field error '800a0bcd'

    Either BOF or EOF is True, or the current record has been deleted. Requested
    operation requires a current record.

    /ANF/Untitled_4.asp, line 223



    Mike1500 Guest

  2. Similar Questions and Discussions

    1. redirecting to main page
      I am working on asp.net application what should I do so that if any user directly types the url other than "mainpage.aspx" of my application, he...
    2. redirecting from another page besides the login page
      We have forms authentication working on a website. A user is presented the login page where he can login or press a button to go to the...
    3. redirecting to a page
      Hi every one, How can I redirect to a page after having checked that user was logged in correctly .... select id_user, user_login,...
    4. redirecting from .aspx page to .asp page
      There is no great way to share session state between ASP and ASP.NET. But that doesn't mean you don't have options. Here are some common ways:...
    5. Redirecting to another page, after doing something
      Hi After I have done some work on one of my php pages, I want to go to another page, and have that display, but I can't seem to work out how to...
  3. #2

    Default Re: redirecting the page based on the error

    ASP/VBScript:

    If rsListDB.EOF Then
    Response.Redirect "URL"
    Else
    Manuel Socarras Guest

  4. #3

    Default Re: redirecting the page based on the error

    Thanks for the response Manuel Socarras, but when I iserted your code suggestion it did not work. Please help. Thanks.
    Mike1500 Guest

  5. #4

    Default Re: redirecting the page based on the error

    post your code to take a look

    Mike1500 wrote:
    > Thanks for the response Manuel Socarras, but when I iserted your code suggestion it did not work. Please help. Thanks.
    Manuel Socarras Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139