Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on September 29, 2023, 01:32:26 am



Title: Ask Reuben 193 - BEFORE DISPLAY EXIT DISPLAY
Post by: Reuben B. on September 29, 2023, 01:32:26 am
I briefly covered this topic as part of an article Tables 101 that gave an overview of the use of the TABLE container.  I want to cover in a little more detail the technique of using an EXIT DISPLAY in a BEFORE DISPLAY of a DISPLAY ARRAY statement.  That is to exit the DISPLAY ARRAY dialog as soon as it starts.
 
This technique is useful when transforming old character screens that used the QAUD pattern to display data from two or more tables that have a Master-Detail relationship in the one screen form.  Due to the fact that the Table container can stretch, the number of rows displayed in the detail area of the form could change, something that might not be catered for in the original 4gl code.

Read more at https://4js.com/ask-reuben/ig-193/