Article ID: 157052
Article Last Modified on 7/1/2004
SET NULLDISPLAY TO ''Use the following steps to set the DynamicForeColor property of a column to white when a field contains a NULL value and to black when the value is not NULL. This article assumes that the Grid column's BackColor property is white (255,255,255) and that the ForeColor property is black (0,0,0). This article also assumes a working knowledge of creating forms, grids, and tables.
IIF(ISNULL(nNulltest),RGB(255,255,255),RGB(0,0,0))
A true condition sets DynamicForeColor to white; a false condition is
set to black.
Keywords: kbhowto KB157052