Yes, it seems to be global. Also for some reason the NULLDISPLAY property I set for textboxes in the grids columns are ignored. And also
I have
sum nI_Dept, nH_Dept, nM_Dept, nO_Dept, nTotal to lnI, lnH, lnM, lnO, lnTotal
where all nI_dept are null. But the sum value is 0.00 Why is that?
>>Hi everybody,
>>
>>In the Help to SET NULLDISPLAY command I do not see its scope. Do you know, if this command is scoped to current DS or it has a global scope?
>>
>>Thanks in advance.
>
>It seems to be global, according to a quick test I am doing (in VFP 6).
>
>Try the following, and see I have been careful enough or not:
>
>In the Command Window, SET NULLDISPLAY TO "???"
>
>Create two forms with private DataSessions, and add a TextBox to each. (Actually, one might be enough.)
>
>Run the two forms, and press Ctrl-0 in the TextBox. This will insert a NULL value.
>
>The forms assume the global value, despite the fact that they use private datasessions.
>
>Change SET NULLDISPLAY in the Form.Load() events (two different values), and run the forms one after the other. The nulldisplay changes for both forms, not only for the individual form.
If it's not broken, fix it until it is.
My Blog