Determining Last Input Record
Moderators: chulett, rschirm, roy
Determining Last Input Record
Is there a method for determining when the last record is traveling down a link? I would like to build a constraint for a link that would only evaluate to TRUE when the last record of an input set is detected. The first row is easy (@INROWNUM = 1). Is there anything like @LASTROWNUM ???
Hi,
what you are going to do is possible, but not the way you want to do it. There are two alternatives:
(1) You remember all input in a common variable and then you put the stage after the writing stage and there you can write what was at last remembered.
(2) You put your input in an intermedium Hash-File with the @inrownumber as your index-field and you can select the max(inrow)
Hope this helps you a bit.
Wolfgang
what you are going to do is possible, but not the way you want to do it. There are two alternatives:
(1) You remember all input in a common variable and then you put the stage after the writing stage and there you can write what was at last remembered.
(2) You put your input in an intermedium Hash-File with the @inrownumber as your index-field and you can select the max(inrow)
Hope this helps you a bit.
Wolfgang
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: