Problem pointing to particular records - Thanks

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Re: Problem pointing to particular records - Thanks

    probably you should implement it using database paging, see a small example
    here:
    [url]http://www.asp101.com/samples/db_paging.asp[/url]

    Vivek

    "John" <JohnNoSpam@ExplorerNet.com> wrote in message
    news:#ONUkIRXDHA.2620@TK2MSFTNGP09.phx.gbl...
    > Hi,
    >
    > I'm designing an asp catalog. I have a listing page with results of an sql
    > query and a detail page for each individual item.
    >
    > When on the detail page, I would like to place a next and previous link
    to
    > the next item from the list.
    >
    > Any suggestions as to how to do this?
    >
    > I would guess that I would do another sql statement, the same as the one
    > that was on my listing page and then somehow point to the record before
    and
    > after to come up with the next and previous record numbers. Not really
    sure
    > how to do this. Would anybody have an example? (using SQL 7 database)
    >
    > Thank you very much.
    >
    > John
    >
    >

    vivek Guest

  2. Similar Questions and Discussions

    1. Problem with Control-Property pointing zu component
      Hi guys, if got a little stuck in the last hours and can't find a way out. Maybe you can. Imagine class derived from component called...
    2. Belkin PS/2 to USB converter, Not Pointing
      In preparation for adding new box to my stable that uses USB for keyboard and mouse, I got a Belkin F5U119-E PS/2 to USB adapter for my PS/2...
    3. Need pointing in the right direction
      Hello people, Just a quick question if you guys wouldn't mind answering or pointing me in the right direction. How would I go about creating...
    4. won't place points where I'm pointing!!
      Hello all, I'm having some trouble with the pen tool, when I place the cursor somewhere to place a point(anchor) and click, the point appears next...
    5. pointing device on thinkpad
      Woody bf2.4 on Thinkpad570. I have "mouse" (that red nipple in the middle of the keyboard) working normally in X, but nothing when in text mode. ...
  3. #2

    Default Re: Problem pointing to particular records - Thanks

    Actually, I implemented virtually the same thing in a
    pseudo newsgroup web site that I did. The way I did it was
    to store the key for the previous and next message as part
    of the link on the current page.

    I wrote a function that would retrieve the Key of the
    previous and next message from the table and then used
    those values to create the links on the page.

    HTH,
    John
    >-----Original Message-----
    >probably you should implement it using database paging,
    see a small example
    >here:
    >[url]http://www.asp101.com/samples/db_paging.asp[/url]
    >
    >Vivek
    >
    >"John" <JohnNoSpam@ExplorerNet.com> wrote in message
    >news:#ONUkIRXDHA.2620@TK2MSFTNGP09.phx.gbl...
    >> Hi,
    >>
    >> I'm designing an asp catalog. I have a listing page
    with results of an sql
    >> query and a detail page for each individual item.
    >>
    >> When on the detail page, I would like to place a next
    and previous link
    >to
    >> the next item from the list.
    >>
    >> Any suggestions as to how to do this?
    >>
    >> I would guess that I would do another sql statement,
    the same as the one
    >> that was on my listing page and then somehow point to
    the record before
    >and
    >> after to come up with the next and previous record
    numbers. Not really
    >sure
    >> how to do this. Would anybody have an example? (using
    SQL 7 database)
    >>
    >> Thank you very much.
    >>
    >> John
    >>
    >>
    >
    >
    >.
    >
    John Beschler 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