iNTERFACEWARE Products Manual > Installing and Using Chameleon > Learning the Basics > Working with Segments and Segment Grammars > Extracting Data From Repeating Segments |
![]() ![]() |
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
A common problem customers have is extracting data from repeating segments in messages. Consider the following message:
The above message contains the following segments:
Since the NK1 segment occurs more than once, you obviously want to keep the data from both segments instead of just overwriting the data. This can easily be done using Chameleon. To properly extract data from repeating segments:
![]() Adding the Repeating NK1 Segment to the Segment Grammar
![]() Defining the Next of Kin Table
![]() Selecting the Grammar Root
![]() Table Mapping Window
![]() Message Browser, Showing Text View Notice that the Next_of_Kin table has been filled with two rows of data, one for each NK1 segment in the message. |