laptop and a wrench

Bug

There is a limitation to the number of records that can be passed into IRelationshipClass2::GetObjectsMatchingObjectSetEx when the relationship class is based on a GUID field.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM002828
SubmittedJune 5, 2006
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.1
Program languageVBA
Version Fixed9.3
StatusFixed

Workaround

I can think of a couple of workarounds:- Loop through an enumeration of the source records. For each record, call GetObjectsRelatedToObject or do a QueryFilter based on the foreign key to the related table. This will probably be slower than GetObjectsMatchingObjectSetEx.- Convert the GUID field to a text field using the VBA function cstr(). This will not be a good work around for users that want to stick with GUIDs.

Steps to Reproduce

Bug ID: NIM002828

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options