PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
NewRecord (Property)
In french: NouvelEnregistrement
ODBCOLE DBNot available with these kinds of connection
..NewRecord is used to find out whether the record is a new record or whether it comes from the data file.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the 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> = <File Name>..NewRecord
<Result>: Boolean
  • True if the record is a new record (HReset was used),
  • False otherwise.
<File Name>: Character string (with or without quotes)
Name of data file used.
Remarks
..NewRecord is set to True by default. 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 required version
  • Version 12
This page is also available for…
Comments
como usar new record
ScreenToFile()
IF usuario_grupo..NewRecord THEN
HAdd(usuario_grupo)
ELSE
HModify(usuario_grupo)
END

// BLOG COM VIDEO EXEMPLO NEW RECORD


http://windevdesenvolvimento.blogspot.com.br/2017/08/aula-1235-windev-hyperfile-32-new-record.html

https://www.youtube.com/watch?v=8DMBslgdJGY

De matos
Aug. 09 2017