MSIR.0843 The record object's file/group does not match the file/group context of the record loop

From m204wiki
Revision as of 16:06, 13 August 2015 by JALWiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

The shared function CurrentRecord in the Record class was invoked inside a For Each Record loop, but the For Each Record loop was on a file or group different from the file or group of the Record object. Since the intent of the CurrentRecord method is to return a Record object representing the current record in a For Each Record loop, it makes no sense for the file/group context of the For Each Record loop to be different from that of the Record object.

Change the file/group context of the Record object, or correct the For Each Record statement.