Re-directing a page to a different address based on acriteria

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

  1. #1

    Default Re-directing a page to a different address based on acriteria

    Hello All,

    I created an update page that once the user made the necessary changes and
    click the update button that record would drop-off from the record set; The
    problem is when there is no record to be updated that page would show the
    following error:

    ADODB.Field error '800a0bcd'

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

    /TEST/Untitled_4.asp, line 147


    ----I would like for it to go to a different page notifying the user there is
    no record to be updated. Does anyone know how to perform this task? Please
    help. Thanks.


    Mike1500 Guest

  2. Similar Questions and Discussions

    1. Limiting bandwidth based on site IP address
      Hi, We have a number of sites with different bandwidth capacities ranging fron 256kbps pipes to 1G. We would like to cap the bandwidth used by...
    2. Restrict access based on originating IP address
      I have a client who has three IP address with x amount of work stations coming from each IP address. The client does not want the users to login...
    3. Directing server php return page
      How do I have the server-side php script open up a new client window, rather than having it return to the client page that invoked the php script in...
    4. redirect to another page based on text in the URL of the current page
      Hi JPElectron, You were looking good until you got to the code. You're trying to use client-side code for your redirects, when you should be...
    5. Q. on a PHP based Email Address Obfuscator for website Mailto: tags
      I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in ...
  3. #2

    Default Re: Re-directing a page to a different address based on a criteria

    Simply wrap the display code in a "Show region is recordset is not empty"
    behavior. Then you you write a message about the no records returned in
    another section of the page and wrap this is in a "Show region is recordset
    is empty" behavior.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "Mike1500" <webforumsuser@macromedia.com> wrote in message
    news:d5aao3$3gp$1@forums.macromedia.com...
    > Hello All,
    >
    > I created an update page that once the user made the necessary changes
    and
    > click the update button that record would drop-off from the record set;
    The
    > problem is when there is no record to be updated that page would show the
    > following error:
    >
    > ADODB.Field error '800a0bcd'
    >
    > Either BOF or EOF is True, or the current record has been deleted.
    Requested
    > operation requires a current record.
    >
    > /TEST/Untitled_4.asp, line 147
    >
    >
    > ----I would like for it to go to a different page notifying the user
    there is
    > no record to be updated. Does anyone know how to perform this task? Please
    > help. Thanks.
    >
    >

    Paul Whitham TMM 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