I'm going to print a report which consist of labels in the following layout:
1 2
3 4
5 6
7 8
Each number represents a record.
Now, I'm required to insert blank records ahead so that the report becomes:
b b 6 7
b 1 8
2 3
4 5
Please tell me how to do that. Thanks.
Comments
"Lau Lei Cheong" ???g???l???s?D:3d8aca32@dm500....
First, I created a MemTable with exactly the same field as the Query plus a
field called dum.
When I need to print the report, I inserted n times record with only 'dum'
field filled with 1 and other fields blank. And than fill the records of the
query in, with the 'dum' field set to another value, let's say 2.
In the ppDetailBand1.BeforeGenerate event handler, if the field 'dum' = 1
then set the controls on report invisible. Else set them to visible.
Now I can see the placeholded space prints blank.
"Lau Lei Cheong" ???g???l???s?D:3d8ad0bb@dm500....