TableSort Ascending change 10.3 ->10.4

1349
3
Jump to solution
09-14-2016 11:58 AM
DarellStoick
New Contributor III

We have upgraded an application from 10.3 to 10.4 and now get the following error -

BC30643 Property 'ESRI.ArcGIS.Geodatabase.ITableSort.Ascending(Field As Boolean)' is of an unsupported type.

Per the documentation @ http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#52284974-38c8-4272-b5a2-f56f38ad94a2...

for tableSort.Ascending

[VB.NET]

' Set ascending property with field name and Boolean value.

tableSort.Ascending("State_Name")=False

In 10.3

WriteOnly Property Ascending(Field As String) As Boolean

WriteOnly Property CaseSensitive(Field As String) As Boolean

In 10.4

WriteOnly Property Ascending(Field As Boolean) As Boolean

WriteOnly Property CaseSensitive(Field As Boolean) As Boolean

This appears to be a bug, but if not can you explain how ITableSort.Ascending is supposed to be used in 10.4

Thanks,

Darell

1 Solution

Accepted Solutions
FreddieGibson
Occasional Contributor III

Hi Darrell, I'm not sure about a timeline for the fix, but you'll want to use VS 2013 in the meantime to compile your code. The method should work the same way it worked in 10.3.1

View solution in original post

3 Replies
FreddieGibson
Occasional Contributor III

Are you using Visual Studio 2015 by any chance?

0 Kudos
DarellStoick
New Contributor III

Yes, this is with VS 2015 with a Target framework of .Net 4.5

Looks like there is a bug already filed for this

-This is a new bug in 10.4 (BUG-000095459). We have Technical Article 000001060 talking about the relevant issues http://support.esri.com/technical-article/000001060

Is there an estimated timetable for this fix?

FreddieGibson
Occasional Contributor III

Hi Darrell, I'm not sure about a timeline for the fix, but you'll want to use VS 2013 in the meantime to compile your code. The method should work the same way it worked in 10.3.1