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 / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Opening data files
  • Record variable
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
HReset (Function)
ODBCNo disponible con este tipo de conexión
Initializes:
  • one or all variables of file items with their default values.
  • WINDEVWEBDEV - Código ServidorAndroidWidget Android Java one or all items of a Record variable with their default values.
The default values are defined when the data file is described in the data model editor.
Remarks:
  • HReset does not modify the record in the data file, it only modifies the data in memory.
  • The function HReset modifies the NewRecord property of the data file concerned: this property changes to Vrai.
Ejemplo
// Assign the default values to the items
HReset(Customer)
// Display
FileToPage()
Sintaxis

Initializing the file items with their default values Ocultar los detalles

<Result> = HReset([<Data file> [, <Item>]])
<Result>: Boolean
  • True if the initialization was performed,
  • False if a problem occurs. HErrorInfo returns more details.
<Data file>: Optional character string
Name of the data file used. If this name is not specified, HReset will use the last data file used by the last HFSQL function (function starting with "H").
<Item>: Optional character string
Name of item to initialize. If this parameter is not specified or if it is equal to "*", the initialization will be performed for all data file items.
Hyper File 5.5 This parameter is ignored. All the items are automatically reinitialized.
WINDEVWEBDEV - Código ServidorAndroidWidget Android Java

Initializing the record items with their default values (Record variable) Ocultar los detalles

<Result> = HReset(<Record> [, <Item>])
<Result>: Boolean
  • True if the initialization was performed,
  • False if a problem occurs. HErrorInfo returns more details.
<Record>: Record variable
Name of the Record variable used.
<Item>: Optional character string
Name of item to initialize. If this parameter is not specified or if it is equal to "*", the initialization will be performed for all record items.
Hyper File 5.5 This parameter is ignored. All the items are automatically reinitialized.
Observaciones

Opening data files

HReset opens the data file used. Therefore, the data file must have been created.
WINDEVWEBDEV - Código Servidor During the custom management of errors, the test of HErrorLock must be run after the call to HReset.
WINDEVWEBDEV - Código ServidorAndroidWidget Android Java

Record variable

To reset a variable of type Record, you can also use VariableReset.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Let's change the Add Button Code

//Nessa aula de hoje
//Vamos alterar o Codigo do Botao Incluir
//na Relacao de Empresas

//In this class today
//Let's change the Add Button Code
//In the Business Relationship

//En esta clase de hoy
//Cambiar el código del botao Incluir
//En la Relación de Empresas


HReset(empresa)
Open(WIN_Form_empresa)
TableDisplay(TABLE_QRY_RELACAO_EMPRESAS,taReExecuteQuery)
TableSelectPlus(TABLE_QRY_RELACAO_EMPRESAS,TABLE_QRY_RELACAO_EMPRESAS..Occurrence)

//Blog com Video e Exemplo

https://forum.pcsoft.fr/pt-BR/pcsoft.br.windev/2374-video-aulas-amarildo-aula-1150-windev-curso-erpamarildo/read.awp

http://windevdesenvolvimento.blogspot.com.br/2017/05/aula-1150-windev-curso-erpamarildo-8.html

https://www.youtube.com/watch?v=r87vz1ref7k
De matos
15 05 2017

Última modificación: 24/10/2024

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