Not totally sure, but I believe that the ITable.Sort method accepts a parameter of ITrackCancel, which is why you just specify "Nothing" on:pTableSort.Sort NothingI don't think it should affect your success or not and I am usure of why you are getting the behavior you seem to be experiencing. What version of ArcGIS are you running? Unless I am missing something obvious, I don't necessarily think anything is wrong with your code. Anyway, here is exact code sample from the EDN site:http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriGeoDatabase/ITableSort.htm
I don't understand why "Nothing" is put there on the last line. Would someone please explain about it and how to complete the macro for it to run well?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.