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.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM002828
已提交
June 5, 2006
上次修改时间
April 2, 2025
适用范围
No Product Found
找到的版本
9.1
编程语言
VBA
修正版本
9.3
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
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.