AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades HFSQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
NewRecord (Property)
 
ODBCOLE DBNo disponible con estos tipos de conexión
The NewRecord property is used to determine if the record is a new record or if it comes from the data file.
Ejemplo
// Find out whether the record was created
IF Customer.NewRecord = True THEN
	Info("This record was created")
END
Sintaxis

Finding out whether the record is a new record Ocultar los detalles

<Result> = <Data file>.NewRecord
<Result>: Boolean
  • True if registration is new (function HReset has been used),
  • False otherwise.
<Data file>: Character string
Name of the data file used.
Observaciones
By default, the NewRecord property is set to True. This property is also True if the HReset function has been used.
It is reset to False when one of the following functions is called:
Note: assigning a variable of type Record to a file also modifies the value of property NewRecord PROPERTY.
Ver también
Versión mínima requerida
  • Versión 12
Esta página también está disponible para…
Comentarios
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
09 08 2017

Última modificación: 13/05/2025

Señalar un error o enviar una sugerencia | Ayuda local