Home > Back-end >  FastReport were not associated with a piece of paper to print two table, two bar, how to do
FastReport were not associated with a piece of paper to print two table, two bar, how to do

Time:10-11

I am using Delphi 7
Report: fastreport 4.7.91
Questions as follows:

Now have two tables, each table printed on a piece of paper are no problem, but the print on a piece of the above is a waste, because the width is smaller, so now need to beat two tables focused on a piece of the above, but the width of the two tables is not the same, as shown in the following

_____________________________________________
| | header
| ____________________________________________ |
| | | list A table B
| | |
| | |
| | |
______________________________________________

Table A and table B is no relationship between two tables, the table I put A cross statements, A data table B is an additional qualifications, try too, but A two column width is the same, also need to list A part to play the full, ran to the table B position,
Watch tried son statements, but B, table A child statements just don't show, cross statements on the child does not display in the report, I do not know why,

Internet search method with many, but is no good, hope to get help here, for the first time post for help, thank you,

CodePudding user response:

No relationship because it is two tables, and want to save paper, go to waste, so only in code

Can try to write the contents of the two tables to TstringGrid, then through FR print StringGrid

Or organization content, printed output to EXCEL.

CodePudding user response:

FR itself not achieve this function? Feel this should be a very common requirement,

CodePudding user response:

Thank you, I want to a compromise solution,

CodePudding user response:

Directly in fastreport Settings,
Settled, just give points & gt;>>>>>>>>

CodePudding user response:

How to solve the building Lord I also is looking for the solution

CodePudding user response:

Want others to give solution to solve and don't want to tell others, a man now!!!!!!!!!! ?????

CodePudding user response:

The data is written to memory with a memory table, table
Then fastreport with associated data control under the memory table to
You can achieve the effect you need to print??
Are you ok??
Memory table, with the KBW good choice
  • Related