If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Perl and the DBI > Query Output

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-22-11, 17:16
l flipboi l l flipboi l is offline
Registered User
 
Join Date: Mar 2011
Posts: 3
Query Output

I would like to control the amount of data displayed on a page, anyway how?

I made a query to the DB for 400 items

and would like to only display 50 at a time.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 05-18-11, 15:52
MCrowley MCrowley is online now
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,899
in a printed report, i believe $= is the page length parameter. In your code, just set it to something other than the default:

Code:
$= = 50;
Some experimentation is likely to be necessary to account for headers, footers, and other oddities.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On