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
// Savoir si l'enregistrement vient d'être saisi
IF Client.NouvelEnregistrement = True THEN
	Info("Cet enregistrement vient d'être saisi")
END
Sintaxis

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

<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.
Observaciones
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:
Note: assigning a Record variable to a file also modifies the value of the NewRecordproperty. .
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: 02/12/2024

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