AnsweredAssumed Answered

Behavior GTRR if number of records is 0

Question asked by lijnbach on Mar 9, 2014
Latest reply on Mar 10, 2014 by lijnbach

Title

Behavior GTRR if number of records is 0

Post

     I use GTRR, and everything is working fine, until the number of related records is zero.

     With GTRR I open a new window with a new layout. After this I perform a few extra script steps. (Extra find function, resize window, disable menu etc.). This works all fine, until the number of records is zero. Then the window and the lay out (for the related records) immediately closes, without a warning. (Or even doesn't come up).

     But, after closing the window and the related lay out, the script steps are going on. So I get a window resize of my main window and the find function is going on.

     I also build a extra script step, directly after the GTRR step, where If [ Get (CountFound) = 0] / Open Dialog; "No records found". But even this script step goes on, on the original main lay out.

     Is there a way to avoid closing down the window and the lay out for the related records if number of records is zero? Or do I have to solve this with script triggers in the related lay out?

     Hans Lijnbach

      

Outcomes