Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET NULLDISPLAY scope
Message
 
 
À
24/12/2005 23:04:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01080748
Message ID:
01080751
Vues:
29
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform