IFeatureDataConverter alters fields defined as double when inserted into SDE.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM032513
Submitted
February 22, 2008
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.2
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
No Public Explanation
Workaround
User checks his fields collection and redefines the scale and precision before running IFeatureDataConverter.When I loop through the output fields (debugging in line by line) afterthe IFieldChecker validate function the precision and scale of doublefields is correct. We had even forced a temporary workaround to thewould-be bug by "modifying" the precision of double fields as: if (F.Type == esriFieldType.esriFieldTypeDouble){ IFieldEdit2 fe2 = F as IFieldEdit2; if (F.Precision > F.Scale - 1) fe2.Precision_2 = F.Precision - F.Scale + 1;}