PRB: Null Values Disappear When Selected in a Grid or BrowseID: Q132331 The information in this article applies to:
SYMPTOMSThe text string ".NULL." for null values disappears when the field is selected. When you move out of the field, ".NULL." reappears. This is by design.
RESOLUTIONTo display a text string ".NULL." for the currently selected field, create a column class that displays a label with the text string ".NULL." via the column's DynamicCurrentControl property. Copy the following code into TESTNULL.PRG, and then run it. You will see a grid with one column and 10 rows. Some of the rows contain numeric values, and some contain ".NULL." as a text string. Press DOWN ARROW to move through the records, note that the text string value of ".NULL." is displayed when the pointer is on a record that contains a null value.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorTo see the behavior described above, run the following code in the Command window:
The currently selected field has no text in it. Press the UP ARROW key or
click in record 1. Record 2 now displays the ".NULL." text string.
Additional reference words: 3.00 VFoxWin browse KBCategory: kbui kbprb KBSubcategory: FxotherGeneral |
Last Reviewed: July 28, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |