Purpose
Define a text that is shown for empty values.
Class
Type
Access / Assign
Data Type
String
Description
The bBrowser uses this access when drawing the column values if empty values shall not be shown and a column value is an empty value. It can be defined with the access, which text is shown instead of the empty value. As default a NULL_STRING is shown.
With the access bDataColumn:SuspendEmptyValues it can define, whether empty values are shown.
So that changes that were made with this access are also shown in the browser, the column data must be re-read with the method bBrowser:Refresh().
Samples
The following sample defines that for empty values the text "<NULL>" is shown.
oColumn := oBrowser:GetColumn(#NAME)
IF !EMPTY(oColumn)
oColumn:SuspendEmptyValues := TRUE
oColumn:ViewEmptyValuesAs := "<NULL>"
oBrowser:Refresh()
oBrowser:Redraw()
ENDIF
See Also
bDataColumn:SuspendEmptyValues
Page url: http://www.YOURSERVER.com/index.html?bdatacolumn_viewemptyvaluesas.htm