New DataSet problem with TDBComboBox
Publicado: Sab Ago 15, 2009 7:41 pm
Ignacio,
TDBComboBox linked with the numeric DataField "FC1"
nStyle := csDROPDOWNLIST
nDataType := dtDefault
aItems := {"Herr","Frau"}
On Append-mode the Control Value with old DataSet was "N"
with new DataSet the Value type is "C"
When updating the DataSet now the errormessage is displayed in the debug
window:
"#1: XAILER Fieldput error: Data type error on field 'FC1'. Expected type
'N', got type 'C' (Herr)"
Please help
Regards
Ingo
TDBComboBox linked with the numeric DataField "FC1"
nStyle := csDROPDOWNLIST
nDataType := dtDefault
aItems := {"Herr","Frau"}
On Append-mode the Control Value with old DataSet was "N"
with new DataSet the Value type is "C"
When updating the DataSet now the errormessage is displayed in the debug
window:
"#1: XAILER Fieldput error: Data type error on field 'FC1'. Expected type
'N', got type 'C' (Herr)"
Please help
Regards
Ingo