Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox, ADO and NULL
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
ComboBox, ADO and NULL
Miscellaneous
Thread ID:
00571449
Message ID:
00571449
Views:
56
Hi,

I develop a class wrapper for ado. This because i need use it for the GUI.

So, in a combox, i put: Combo1.ControlSource='thisform.Ado1.oFields('Name').Value'

Then , i populate the combo from other recordset, and i add a extra item for assig a null value to the field (i need it for the relations)

This work fine, except if the field is defined in Sql Server 2000 like Nullable and the field value is null. When i select any item (excep the null item) NOTHING HAPPEND, no item is selected, the combo.value not change, etc...

But if the field value is different to null, this work fine.

I'm crazy, i need install several copies of this software tomorrow and i need a workaround...

NOTE: The fiel is INT, and when i stop in interactivecahnge, the value (when the field value is null) is "", the displayvalue is .NULL.... Why?
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Next
Reply
Map
View

Click here to load this message in the networking platform