Thread: General

Easytrieve LEVEL vs BREAK-LEVEL on a CONTROL report

Started by Anita • user3 replies155 viewsLast activity 3 weeks ago
Post #1
0 votes
Anita
Reputation
118
Posts: 23
Joined: May 29, 2025, 12:45 PM
Posted: Jul 22, 2026, 1:17 PM

BEFORE-BREAK proc. I keep mixing up LEVEL and BREAK-LEVEL when deciding what message to print before the totals.

CONTROL REGION BRANCH. When does LEVEL = 1 vs BREAK-LEVEL = 2?

Post #2
1 votes
Marty
Reputation
412
Posts: 58
Joined: Aug 12, 2024, 9:14 AM
Posted: Jul 22, 2026, 4:17 PM

LEVEL is which summary line you are about to print (0 = detail, 1 = lowest CONTROL field, ... n+1 = FINAL).

BREAK-LEVEL is how high the break went. BREAK-LEVEL 1 = only BRANCH broke. 2 = REGION broke too so you get both summary lines. 3 = final.

So test LEVEL for "which line am I on" and BREAK-LEVEL for "how deep did this break go."

Post #3
0 votes
Anita
Reputation
118
Posts: 23
Joined: May 29, 2025, 12:45 PM
Posted: Jul 22, 2026, 10:17 PM

That clicked. Was treating them as synonyms.

You must be signed in to reply to this thread