PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Browsing Table control with direct access
  • Memory Table control
  • Browsing Table control loaded in memory
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
11. The Table/Looper controls
Previous pageTable of contentsNext page
The Table/Looper controls can be used to display a set of information (the content of a data file for example). The content of these controls can come from different sources:
  • Browsing Table/Looper control with direct access.
  • Memory Table/Looper control.
  • Browsing Table/Looper control loaded in memory.
Note: These three fill modes will be presented in details for the Table control. The same concepts apply to the Looper control.
Browsing Table control with direct access
A browsing Table control with direct access is used to directly display data coming from a data file, a query or an array variable. Browsing the data file allows you to display data in the Table control. The data file is read for each row displayed: the record that is read is displayed in a row of the Table control.
The displayed data that is not linked to the data file is not kept when refreshing the display of the line (value of a check box column for example).
The WLanguage functions starting with "Table" are used to handle the browsing Table controls with direct access. Adding or deleting a row into/from the Table control triggers the addition or deletion of the record in the linked data file.
Memory Table control
A memory Table control is used to directly display the data loaded in memory. The data is added into the Table control by programming (by TableAddLine for example).
The data being found in memory, the Table control allows you to perform all operations on the data (sort on any column, search in the columns, ...).
Browsing Table control loaded in memory
The browsing Table controls loaded in memory combine the benefits of browsing Table controls with the benefits of memory Table controls.
The Table control is linked to the data file but the content of data file is entirely loaded in memory. The sort and the search are available for all columns.
The data that is not linked to the data file is kept when handling the scrollbar of Table control (Check Box column for example).
Since data file records are loaded into memory, this Table control type is recommended for data files with less than 100,000 records (to avoid memory overflow).
Note:
These different fill modes are also available for the List Box and Combo Box controls.

The Table control is not available in the Universal Windows 10 apps applications. Only the Looper control can be used.
Previous pageTable of contentsNext page
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment