ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Table control
  • Overview
  • Features of Table controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to use:
  • Table controls populated programmatically.
  • Table controls linked to a data file with direct access to the data source.
  • Table fields linked to a data file loaded in memory. In this case, only a limited number of records is loaded in memory. If the data file contains more records than the number defined in the Table control description, a warning message appears: "There are more than XXX records. Only the first XXX rows will be displayed".
The table below presents the different features available (or not) for the different types of Table controls.
Note: The concept of a field based on a "data file loaded in memory" is also applicable:
  • List Box controls,
  • ListView controls,
  • Combo Box controls.
Features of Table controls
FeatureTable control populated programmaticallyTable control linked to a data file with direct access to the data sourceTable control linked to a data file loaded in memory
Automatically filled with the content of the data fileXX
Automatically take into account the last filter implemented on the data file (HFilter)XX
Records are automatically added and modified in the data file.XX
Support for multi-selection.XXX
Only the visible records are read.XX
Number of elements (Occurrence property) calculated by fetch if necessaryXX
Sort and magnifier available for all the columns
XX
X
Displays the last record or the middle record without reading all the previous recordsX
Using the TableSave functionXX
Use function TableDisplay with the following syntax: TableDisplay(TableName, taCurrentBand)XX
Data file positioned on the selectionXX
Data file positioned during the "Display a row" eventXX
Scrollbar with ongoing movement forbiddenXX
Scrollbar tooltip on an itemXX
Automatic refreshX
Unlimited use of TableAddLineXX (*)X
Using the TableRecNum functionXX
Using the TableSearch functionXLimitedX
Using the SQLTable functionX
Using the TableSelectToFile functionXX
Ability to perform a manual iterationX
Filter propertyX
Managing the record locksXX
Re-reading the record during the selectionX
Re-reading the record when entering in inputXX
Re-reading the records during the scrollX
Support for large data files (over 100,000 records)X
Support for compatibility with the tables in 5.5 formatXX
Fatal error caused by an HFSQL problem during the initializationAccording to codeXX
Memory footprintEverything is in memoryLowEverything is in memory
BreaksXX
Selection by cellXX

(*) For Table fields on data files with direct access, if cascading input has been disabled, the TableAddLine function can be used to add a line to the field, allowing the user to enter data. In this case, TableAddLine can be called once only.
Table control with direct access to the data source and Table control with direct access to the data source are very similar. The main differences between these two types of controls are shown in bold.
Table fields on data files "with in-memory access" offer many advantages, including the ability to sort and search on any column in the field. They are also used to store the value of calculated columns for all the rows.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/04/2025

Send a report | Local help