BUG: You cannot create calculated expressions on DataSet objects in the Schema Designer (311522)
The information in this article applies to:
- Microsoft ADO.NET (included with the .NET Framework)
- Microsoft .NET Framework
This article was previously published under Q311522
This article refers to the following Microsoft .NET Framework Class Library namespace:
CAUSE
The DataSet tries to use rows that have not yet been defined to create the expression.
RESOLUTION
To work around this problem, create the expressions after you instantiate the DataSet. After you create the tables and rows in the DataSet constructor, the expressions will be accepted. For example:
Dim objDS as new DataSet1
objDS.myTable.AvgColumn.Expression = "avg(Child.Values)"
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/9/2006 |
---|
Keywords: | kbtshoot kberrmsg kbbug kbMiscTools kbpending kbreadme kbSystemData KB311522 kbAudDeveloper |
---|
|