PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

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
..PersistedCalculatedItem is used to:
  • Find out whether the value of a calculated item is stored in the data file. This item was defined in the data model editor or by programming.
  • Define whether the value of a calculated item is stored in the data file (when describing the item by programming).
Remark: The calculated items correspond to the "Expression" items in the data model editor.
Versions 22 and later
WINDEVJava This property is now available for Java applications.
Android This property is now available for Android applications.
Android Widget This property is now available in Android Widget mode.
New in version 22
WINDEVJava This property is now available for Java applications.
Android This property is now available for Android applications.
Android Widget This property is now available in Android Widget mode.
WINDEVJava This property is now available for Java applications.
Android This property is now available for Android applications.
Android Widget This property is now available in Android Widget mode.
Example
AFile is File Description
AnItem is Item Description
AnItem..Name = "CmdDate"
AnItem..CalculatedItemExpression = "'Written by ' + CURRENT_USER + ' on ' + SYSDATE"
AnItem..PersistedCalculatedItem = True
HDescribeItem(AFile, AnItem)
Syntax

Find out whether the value of a calculated item is stored in the data file Hide the details

<Result> = <Data file>.<Item>..PersistedCalculatedItem
<Result>: Boolean
  • True if the value of the calculated item is stored in the data file.
  • False if the value of the item is recalculated at each reading.
<Data file>: Character string (with or without quotes)
Name of data file used.
<Item>: Character string (with or without quotes)
Name of item used.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUniversal Windows 10 AppWindows MobileAjaxUser code (UMC)

Indicating whether the value of a calculated item must be stored in the data file Hide the details

<Item>..PersistedCalculatedItem = <Value>
<Item>: Character string (with or without quotes)
Name of item used. This name was defined by the Item description type.
<Value>: Boolean
  • True if the value of the calculated item must be stored in the data file.
  • False if the value of the item must be recalculated at each read operation.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment