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 de ventanas, páginas y controles
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
The property NullSiVide property property allows you to:
  • Find out whether the value returned by the control is NULL if its content is empty.
  • Configure the value returned by the control if its content is empty.
Note: This property is equivalent to the "Return NULL if empty" option in the control description window ("Detail" tab).
Ejemplo
EDT_MinPrice.NullIfEmpty = True
EDT_MaxPrice.NullIfEmpty = True
REQ_Find.ParamMinPrice = EDT_MinPrice
REQ_Find.ParamMaxPrice = EDT_MaxPrice
HExecuteQuery(QRY_Find)
Sintaxis

Find out whether the value returned by the control is NULL if its content is empty Ocultar los detalles

<Result> = <Control used>.NullIfEmpty
<Result>: Boolean
  • True if the value returned by the control is NULL if its content is empty,
  • False otherwise.
<Control used>: Control name
Name of the control to be used. This control can correspond to an edit control or to an editable Combo Box control.

Configure the value returned by the control if its content is empty. Ocultar los detalles

<Control used>.NullIfEmpty = <New mode>
<Control used>: Control name
Name of the control to be used. This control can correspond to an edit control or to an editable Combo Box control.
<New mode>: Boolean
  • True if the value returned by the control is NULL if its content is empty,
  • False otherwise.
Observaciones
  • this property allows you to easily perform multi-criteria searches via a query with parameters in which the values of parameters correspond to edit controls. Indeed, the query parameters whose value is NULL are ignored. For more details, see Using a query with parameters.
  • This property has no effect when assigning the field with a value.
  • This property is only available for Edit control fields and Combo Box control fields..
Versión mínima requerida
  • Versión 19
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

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