Get the following line in a report

sharon95sharon95 Member Posts: 183
Hello everyone, I was wondering if there's a method to store in a variable the next line in a report. My aim is to show in a message if the sequence of record is interrupted.. i.e.: in the report I get 5 lines: "1","2","4","5","7". I want to have the message "the sequence was interrupted 2 times". How can I do this? Thank you!

Best Answer

Answers

  • Wisa123Wisa123 Member Posts: 308
    Do you want to print this message or just create a pupup message?

    Usually you would do this by saving the number during the OnAfterGetRecord trigger of your respective DataItem and check for interruptions in the sequence there.

    Kind of hard to explain without seeing the actual Object. :neutral:

    Austrian NAV/BC Dev
  • sharon95sharon95 Member Posts: 183
    Wisa123 wrote: »
    Do you want to print this message or just create a pupup message?

    Usually you would do this by saving the number during the OnAfterGetRecord trigger of your respective DataItem and check for interruptions in the sequence there.

    Kind of hard to explain without seeing the actual Object. :neutral:

    mmhh... can you give me an example?...
  • sharon95sharon95 Member Posts: 183
    Answer ✓
    done
  • RockWithNAVRockWithNAV Member Posts: 1,139
    Hey @sharon95

    Every time you put a question and even though you found the answer yourself, it's always better to write the answer of the question as well so that if someone in future too came across with the same need and then atleast he can get the answer. :smile:
Sign In or Register to comment.