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

In List Reports. Displaying Before Print commands

edited May 2007 in General
Hi,
I have a report that has a number of commands in the Report Before Rpint
section, like the following:

if TABLE['field'] = 'ABC' then Label1.Text := 'This is a test';
if TABLE['field'] = 'XYZ' then Label1.Text := 'This is not a test';

This works fine when the report runs once.
But the autosearch on the table is of format INLIST.
When a list of autosearch values are inputted the report prints a number of
times; once for each value.
However the Before Print commands for the label no longer work. The labels
are blank on all reports.

Do you know how I can get around this?


Thanks
Redmond

Comments

  • edited May 2007
    I'd send a demo to support--I've never seen this problem.

    Ed Dressel
    Team DM
  • edited May 2007
    Ed,

    HOw would I do that without sending the report and my DB?
    You mean just the code on the Before Print?

    Thanks
    Red


  • edited May 2007
    create a quick demo that shows how it isn't working--use a JIT pipeline.
    Best way to get quick answers, and often, with small demos, I've answered my
    own questions.

    --
    Ed Dressel
    Team DM
  • edited June 2007

    Ed,

    Sorry, but whats a JIT pipeline?
    How do i send such a thing to you?

    Thanks
    Red



This discussion has been closed.