PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
NewRecord (Property)
In french: NouvelEnregistrement
ODBCOLE DBNot available with these kinds of connection
The NewRecord property is used to determine if the record is a new record or if it comes from the data file.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
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
// Find out whether the record was created
IF Customer.NewRecord = True THEN
Info("This record was created")
END
Syntax

Finding out whether the record is a new record Hide the details

<Result> = <Data file>.NewRecord
<Result>: Boolean
  • True if the record is a new record (HReset was used),
  • False otherwise.
<Data file>: Character string
Name of the data file used.
Remarks
By default, the NewRecord property is set to True. This property is also set to True if HReset was used.
It is reset to False when one of the following functions is called:
See also
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment