Skip navigation
gbergan52
Currently Being Moderated

How to change the display limits of a dynamic table?

Mar 17, 2011 12:48 PM

Hi folks,

 

I'm using DW CS4 and PHP. I've got a php page with a dynamic table and repeating region that I built for my client. This table lists our entire active member list. Initially I built the dynamic table to show only 50 records at a time because 300+ records made an overly long page. Now my client wants all the records on a single page, because he doesn't like clicking through the recordset paging of First - Next - Previous - Last list to find who he is looking for. I tried changing the Repeating Region behavior to All Records (rather than 50) but it still displays only 50. I'm sure this is because initially when I set up the dynamic table, I limited it to 50 there. Is there an easy way to change the dynamic table from 50 to All Records, without rebuilding the entire page? I've looked in several places and can't find a way to edit this. Thanks for your help,

 

Gail

 
Replies
  • Currently Being Moderated
    Mar 17, 2011 1:25 PM   in reply to gbergan52

    There is probably gone something wrong in your code.

    You must be able to find it.

    With me it sometimes occurs that a code is placed twice

    where the old one is shown last and therefore overwrites the newly placed code.

     

    I am not really a programmer so there are people around here that can help you better.

    But maybe it is worth while to look if this has occurred.

     

    Jos

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 17, 2011 5:27 PM   in reply to gbergan52

    If the page in question is - apart from the table - not overly complex, the probably most straight forward way is to...

     

    a) copy the table *code* to the clipboard and paste it into, say, a simple text editor such as NotePad

     

    b) rename the current document to something else for backup purposes

     

    c) create a new document and insert a simple Recordset (needs to be named identically to allow for an easy transition)

     

    d) paste the table code back in here

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 18, 2011 8:21 AM   in reply to gbergan52

    gbergan52 wrote:

     

    Thanks, that did the trick!

    and it´s much easier than having to delete all that redundant code garbage ;-)

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 18, 2011 8:56 AM   in reply to gbergan52

    Hi Gail,

     

    this is doable and doesn´t take much effort, but I need to know if you still want this applied to a "recordset paging" document or if it´s based on a simple query.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 18, 2011 9:19 AM   in reply to gbergan52

    gbergan52 wrote:

     

    I believe the answer is a recordset paging document.

    No problem either, but please tell me, if the current query already contains a WHERE clause or not.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 18, 2011 9:55 AM   in reply to gbergan52

    Thanks,

     

    I have figured out something by now and will add the "how to" to that other thread you mentioned so it stays within the context of your initial post.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points