Home Subreports

Columns inside a subreport

edited March 2005 in Subreports
Hi,

I've been trying for figure this one out for 3 days now. I need to
make a report with the following format :

Header
Detail
begin
Subreport1
begin
3 Columns
Subreport1.detail
begin
DBMemo1 -> Linked to a DataSet1;
end
end
Subreport2
begin
2 Columns
Subreport2.detail
begin
DBMemo2 -> Linked to DataSet2
end
end
Subreport3
begin
1 Column
Subreport3.Detail
begin
DBMemo3 -> Linked to DataSet3.Field1
DBMemo4 -> Linked to DataSet3.Field2
end
end
end
Footer

My Problem is Subreport1 tends to go thru the entire detail band before
going to the next column. I discovered that if I used
Subreport.StopPosition, My report behaves properly. But that only
works if I know in advance what value to put to Subreport.StopPosition,
since the data inside Subreport1.detail is linked to a DataSet. I dont
know how big it could be.

My Report Should look like this

Header

Data1.1 Data1.5 Data1.9
Data1.2 Data1.6 Data1.10
Data1.3 Data1.7 Data1.11
Data1.4 Data1.8 Data1.n

Data2.1 Data2.5
Data2.2 Data2.6
Data2.3 Data2.7
Data2.4 Data2.n

Memo1
Memo2

Footer

Is there any other way of Doing it? Please Help


Thanks

Comments

This discussion has been closed.