Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET NULLDISPLAY scope
Message
From
24/12/2005 23:04:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01080748
Message ID:
01080749
Views:
21
>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform