Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem with in-code ppLabel creation

edited August 2002 in General

I have several ppLabels which I create in-code for a
1-fullpage-per-detail-line report.
If I place the creates in the OnShow or OnCreate events of the Form, I get
the desired results. However, now I need to be able to change some of the
field creates based on the PageNo of the report. When I move the creates to
events linked to the report, the fields do not show up on the report.

Are there any rules that determine where to place in-code field/band/group
definitions?
Is what I want to do possible with in-code definitions?

My environment is D5, RB6.03

Thank you.

Bill Lawler
Elite Brokerage Services, Inc

Comments

  • edited August 2002
    I would continue to create all of the labels before the report is generated.
    Then configure the labels based on user selection (set visibility, position,
    etc.) This will work better because the report engine initializes the entire
    layout before it begins generation. Components which are added during
    generation don't have a chance to participate in this initialization and so
    don't appear in the output...

    --
    Cheers,

    Tom Ollar
    Digital Metaphors Corporation
This discussion has been closed.