Floating values with changing end value requiring a condition

I am trying to create a go to for a value with a varied position in different records, I’m not using java script. Once the go to for the value is applied how can a repetition be applied one line above and 5 lines below?

If you have for example a text file as data file you can use the following (‘required’) settings:

  • Goto step
    • Target type: Next occurence of
    • Inspect entire page width: “unselected”
  • Extract step
    • “One line above”
      • Condition: ‘record field name’
      • Mode: Location
      • Top offset: -1
    • “Five lines below”
      • Condition: ‘record field name’
      • Mode: Location
      • Top offset: 5
1 Like