Reply To: iteration on VRL records..using HRL’s?

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf iteration on VRL records..using HRL’s? Reply To: iteration on VRL records..using HRL’s?

#56777
Robert Kersemakers
Participant

Hi Julie,

I think you have to define a new HRL that’s made up out of a repetition of your VRL. Next you need to get your VRL file as ‘single’ so all VRL records are seen as one message: the HRL.

On iterating the HRL: I would search the archive for that. I’ve already posted some answers on this subject there, like this:

Quote:


I have made several HRL’s, so I’ll try to explain how I did it.

I have a message, consisting of a header-line and one or more text-lines.

The content of the header is completely different from the text, so I

created a 2 FRL’s: msg_header.frl and msg_text.frl. Every text-line will

start with the string ‘TXT’; this is the segmentname.

Then I created an HRL, which looks like this:

Segment 1

========

Name: header

File name: msg_header.frl

Repeat options: No Repeat

Segment 2

========

Name: text

File name: msg_text.frl

Repeat options: Repeat while

Field: text.segmentname

Value: TXT

It took me a while before I figured out that in the fieldname of the

repeating field, you need to specify

.‘ as the field.

Hope this helps!

Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,291
Replies
34,426
Topic Tags
286
Empty Topic Tags
10