Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

That meant my ClearLinkBetween method could no longer assume the mere presence of a linking record. I changed the code to this:

Code Block
CML_Data_ManyToManyLinks.ClearLinkBetween         procedure(long leftRecordID,long rightRecordID)
    code
    if self.GetLinkRecord(leftRecordID,rightRecordID)
        self.LinksDataQ.IsLinked = FALSE
        put(self.LinksDataQ)
    end

...

There's still work to be done here, not least of which is adding some measure of error handling. But this code does work. The unit tests pass, and in my UITest program my checkbox settings are preserved between runs.