PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
NbLinesPerPage (Property)
In french: NbLignesParPage
..NbLinesPerPage is used to:
  • Find out and modify the maximum number of rows per page for a table.
  • Find out and modify the maximum number of rows per page for a looper.
    Caution: if the looper is multi-column, ..NbLinesPerPage corresponds to the maximum total number of occurrences displayed in the looper (number of columns multiplied by the number of rows).
Reminder: The number of rows per page corresponds to the maximum number of table/looper rows that can be displayed in a page. This option is used to optimize the size of pages. This number is defined in the control description:
  • For the loopers: "General" tab of the control description.
  • For the tables: "Details" tab of the control description.
Versions 18 and later
WEBDEV - Server codePHP This property is now available for the PHP sites.
New in version 18
WEBDEV - Server codePHP This property is now available for the PHP sites.
WEBDEV - Server codePHP This property is now available for the PHP sites.
Example
// Displays 20 looper rows on a page
LOOP_Looper1..NbLinesPerPage = 20
Syntax

Finding out the maximum number of rows per page Hide the details

<Number of lines> = <Control name>..NbLinesPerPage
<Number of lines>: Integer
Maximum number of rows currently defined.
<Control name>: Character string
Name of table or looper.

Modifying the maximum number of rows per page Hide the details

<Control name>..NbLinesPerPage = <New Number of Rows>
<Control name>: Character string
Name of table or looper for which the maximum number of rows per page must be modified.
<New Number of Rows>: Integer
Maximum number of rows per page. This number must not be equal to 0.
Remarks
  • It is not necessary to call function TableDisplay or LooperDisplay to take into account the change in the maximum number of lines per page.
  • This property does not operate if the looper and/or the table is in Ajax mode.
  • This property is not available for the treeview tables.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment