Project

General

Profile

Bug #10696

Extra repeated output when using display inside a REPEAT loop

Added by Paula Păstrăguș 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Paula Păstrăguș 9 months ago

Testcase:

def var v1 as char.
def var v2 as char.
def var v3 as char.

def new shared frame sh.
form v1 skip v2 skip v3 skip with frame sh no-box no-labels width 132.
form header "My header" with frame hdr no-box no-labels page-top width 132.

output to ab.txt page-size 62.
view frame hdr.

display "a" @ v1 
        "b" @ v2 
        "c" @ v3 with frame sh.

def var i as int.
repeat i = 1 to 10:
  form "test" with frame fr.    // -----------------------> CULPRIT

  display "1" @ v1 
        "2" @ v2
        "3" @ v3 with frame sh.
end.
output close. 

FWD output:

My header
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3


4GL output:

My header
1
2
3


#2 Updated by Greg Shah 9 months ago

  • Project changed from Bugs to User Interface

Also available in: Atom PDF