Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serious bug in our application
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01105978
Message ID:
01105999
Views:
21
>>>Hi everybody,
>>>
>>>We're using a special combobox class, which uses 5 as RowSourceType (array). We have NULL in our field table which is a controlsource for the combobox. We should be able to choose this value. The array has NULL in it. However, the combo's value becomes empty (and not NULL) when we switch to this value. (this.aRowSource[this.ListIndex, this.BoundColumn] shows NULL, but value shows empty)
>>>
>>>Is where a way to fix our class to work correctly with NULLs? Or comboboxes could not handle NULLs at all? Or it's only the problem with certain RowSourceTypes? We could not find anything regarding NULLs in the Help for comboboxes...
>>>
>>>Our whole application has this serious problem, which I found today accidentally. We need a way to fix the problem.
>>>
>>>Thanks in advance.
>>
>>Just start testing when I thbk, did you have SET NULLDISPLAY TO [] somewhere, or NullDisplay property of the combo is setted to []?
>
>NullDisplay property of the combo is not touched (default - None). In the application I believe we use empty string for NULLDISPLAY. What would you suggest?

Nothing :-)
I found that if you select some ListItem tha has valuem then you can't turn it back to NULL.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform