In List Reports. Displaying Before Print commands
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
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
This discussion has been closed.
Comments
Ed Dressel
Team DM
HOw would I do that without sending the report and my DB?
You mean just the code on the Before Print?
Thanks
Red
Best way to get quick answers, and often, with small demos, I've answered my
own questions.
--
Ed Dressel
Team DM
Ed,
Sorry, but whats a JIT pipeline?
How do i send such a thing to you?
Thanks
Red