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
DefaultValue (Property)
In french: DefaultValue
..DefaultValue is used to:
  • Find out the default value of an item. This item was defined in the data model editor or by programming.
  • Define the default value of an item (when the item is described by programming).
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Define the default value of the Orders.Title item
Title..DefaultValue = 1
...
// Validates the file description
HDescribeFile(Orders)
Syntax

Find out the default value of an item Hide the details

<Result> = <File Name>.<Item Name>..DefaultValue
<Result>: Type of item
Default value of the item.
<File Name>: Character string (with or without quotes)
Name of data file used.
<Item Name>: Character string (with or without quotes)
Name of item used.
WINDEVUniversal Windows 10 AppUser code (UMC)

Defining the default value of an item described by programming Hide the details

<Item Name>..DefaultValue = <Value>
<Item Name>: Character string (with or without quotes)
Name of item used. This name was defined by the Item Description type.
<Value>: Type of item
Default value of the item.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment