Paging data in different 'on the fly' iterations

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

  1. #1

    Default Paging data in different 'on the fly' iterations

    Hi All

    Got a weird problem since I put in a pop-up to allow the user to set
    the number of products per page, eg show products in 5, 10, 15 ,25
    per page.

    I've seen this feature on various forums and the like and I thought it
    would just be a case of passing the selection through the query string
    with everything else, but this doesn't seem to be the case.

    Although I can consistantly create the problem it doesn't seem to make
    any sense.

    If you have time to could you please have a look at the following and
    let me know what you think it might be:

    1) Go to the below web site:
    [url]http://www.AstraAccounts.co.uk/user-data/dpas/[/url]

    2) Click the 'Browse the Catalogue' link.

    3) Change the pop to 25 products per page.

    When you click the Next link (bottom right of the page) to click
    through the pages it stops at item 250.

    4) Reset the site by going back to the Home Page and then click the
    'Browse the Catalogue' link again.

    5) This time, set the pop-up to 20 per page and click the Next link.

    This time it goes to 200 then jumps to 381!?!?!

    Is there some magic way of doing this?

    It seems straightforward, but I seem to be goofing somewhere
    big-stylie.

    Many thanks.

    Regards


    Robbie
    Astra Guest

  2. Similar Questions and Discussions

    1. #40181 [NEW]: double free problem after 64k iterations
      From: giovanni at giacobbi dot net Operating system: linux PHP version: 4.4.4 PHP Bug Type: Reproducible crash Bug...
    2. Datagrid Paging Stretch Data
      Hi there just another question regarding paging in a datagrid. In my datagrid i have paging setup for 10 records per page this is fine when there...
    3. alpha paging and data grid??
      Can someone please tell me why this is not working??? I used a sample that I found and it works great with the pubs database, however, as soon as...
    4. Displaying data on same row as paging buttons
      How do you display data on the same row as the paging buttons?
    5. For Next iterations
      Hi all, Is there any 'trick' anyone knows to control a For Next to pass to the next iteration in ASP VBScript? ..Similar to the 'continue'...
  3. #2

    Default Re: Paging data in different 'on the fly' iterations

    It seems like your math is off.

    when setting the paging, write out things like .recordCount, currentRecord,
    and try to walk through each page. Write out the query string, and all math
    functions. This way, you can see exactly what is going on.

    Michael C. Gates


    "Astra" <info@astraaccounts.co.uk> wrote in message
    news:5c500b2f.0308260257.3184dcb3@posting.google.c om...
    > Hi All
    >
    > Got a weird problem since I put in a pop-up to allow the user to set
    > the number of products per page, eg show products in 5, 10, 15 ,25
    > per page.
    >
    > I've seen this feature on various forums and the like and I thought it
    > would just be a case of passing the selection through the query string
    > with everything else, but this doesn't seem to be the case.
    >
    > Although I can consistantly create the problem it doesn't seem to make
    > any sense.
    >
    > If you have time to could you please have a look at the following and
    > let me know what you think it might be:
    >
    > 1) Go to the below web site:
    > [url]http://www.AstraAccounts.co.uk/user-data/dpas/[/url]
    >
    > 2) Click the 'Browse the Catalogue' link.
    >
    > 3) Change the pop to 25 products per page.
    >
    > When you click the Next link (bottom right of the page) to click
    > through the pages it stops at item 250.
    >
    > 4) Reset the site by going back to the Home Page and then click the
    > 'Browse the Catalogue' link again.
    >
    > 5) This time, set the pop-up to 20 per page and click the Next link.
    >
    > This time it goes to 200 then jumps to 381!?!?!
    >
    > Is there some magic way of doing this?
    >
    > It seems straightforward, but I seem to be goofing somewhere
    > big-stylie.
    >
    > Many thanks.
    >
    > Regards
    >
    >
    > Robbie

    Michael C. Gates 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