fannonj

Populate relationship class without using OIDs?

Discussion created by fannonj on Jan 5, 2012
Latest reply on Feb 1, 2012 by fannonj
Hi

We have a M-M relationship class (with an intermediate table) and can only find documentation on populating this using origin and destination OIDs through IRelationshipClass.CreateRelationship.

The relationship class origin and destination primary and foreign keys are NOT using objectID, but another field within the tables. I would like if possible to populate the relationship using values from these fields instead of objectIDs.

Anyone know if this is possible and if there are any examples? I can't find many decent examples for populating relationship classes.

Cheers

John

Outcomes