PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..TotalsEnabled is used to:
  • Find out the operating mode of column calculations (automatic or custom) for a Table or TreeView Table control,
  • Temporarily forbid or force the column calculations (automatic or custom) in a Table or TreeView Table control.
Note: For more details about implementing and programming calculations in Table controls, see:
Example
TABLE_TABLE1..TotalsEnabled = False // no more calculated totals
FOR I = 1 TO 50
TableAdd(TABLE_TABLE1, MyCalculationRowContent(I))
Multitask(-1) // the table is redisplayed without totals
END
TABLE_TABLE1..TotalsEnabled = True
Trace(" Total = " + COL_TOTALCOL[rowTotal])
Syntax

Finding out the operating mode of column calculations (automatic or custom) Hide the details

<Result> = <Table Name>..TotalsEnabled
<Result>: Boolean
  • True if the column calculations (automatic or custom) are immediately performed,
  • False if the column calculations (automatic or custom) are not performed.
<Table Name>: Character string (with or without quotes)
Name of Table or TreeView Table control containing the column calculations (automatic or custom).

Modifying the operating mode of column calculations (automatic or custom) Hide the details

<Table Name>..TotalsEnabled = <New Operating Mode>
<Table Name>: Character string (with or without quotes)
Name of Table or TreeView Table control containing the column calculations (automatic or custom).
<New Operating Mode>: Boolean
  • True to force the execution of column calculations (automatic or custom) in the control,
  • False not to perform the column calculations (automatic or custom).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment