Skip to content

Conversation

@chipbarnaby
Copy link
Contributor

Description

Fix bug associated with REPORT rpCpl.

Issue: When rpCpl was recalculated during setup due report-too-wide, the recalculated value was retained into subsequent runs (that is, the input record was modified). Bad case:

  1. Input or default rpCpl=-1 ("as wide as needed') in a REPORT
  2. Run
  3. Modify the REPORT to make it wider (e.g., add a REPORTCOL)
  4. Run
  5. Get superfluous warning about insufficient width.

Local value introduced to allow width recalc to occur w/o modifying input value.

Also replaced test case result commands.rep (test case commands.cse was where the problem was discovered).

Also clarified documentation for REPORT rpCpl

@chipbarnaby chipbarnaby merged commit 72cfdd7 into main Jul 29, 2023
@chipbarnaby chipbarnaby deleted the rpCpl-bug-fix branch July 29, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants