IFeatureDataConverter alters fields defined as double when inserted into SDE.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM032513
送信されました
February 22, 2008
最終更新日
June 5, 2024
適用対象
No Product Found
見つかったバージョン
9.2
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
No Public Explanation
対処法
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;}