Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Detail Bands on VFP9 Report
Message
From
06/08/2007 15:20:23
 
 
To
06/08/2007 10:21:18
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01246136
Message ID:
01246251
Views:
68
I looked at Cathy's stuff again but didn't see anything like what I need to do. Any way to get a detail band outside of any group bands? I need to break table1 into two groups and then have table 2 print its records afterwards:
(Example - just to give you an idea of the situation)
Group Band 1(Calls Grouped by time) - Records come from table 1 only broken into two groups
 1st group
    8:00am .3 hours
   12:00pm 1 hour
   12:10pm 1.5 hours
    1:00pm .2 hours
 2nd group
    1:00am .1 hour  (2nd grouping by time)
    2:00am .3 hours
End of group band 1 - table 1 records
* Now I want to print the detail band for table 2 outside of the group 1 band
Now I need to print the detail band for the 2nd table. But it has nothing to do with the records in table 1 so I don't want it inside of the group by for table 1. How do I get a group by that is not inside another group by and deals with a separate table entirely? Or how can I create a detail band that is OUTSIDE of any group bands in the report? I can see how to create multiple detail bands INSIDE OF 1 GROUP BAND, but not how to get a detail band outside of detail band. Only one table needs a group by not the 2nd.



>Have you looked at Cathy's whitepapers at
>http://msdn2.microsoft.com/en-us/library/ms965279.aspx
>http://msdn2.microsoft.com/en-us/library/ms965281.aspx
>
>>In the past I've always fudged multiple detail band reports by creating one combined table and added fields to denote which detail band a record should print in. I have a different situation now. I have two separate tables for each detail section. There could be multiple records in each but they really are both child tables. The report originally just printed the detail section based on the first table, but now I want to add a 2nd detail section from the 2nd table. I want the report to step through each table separately and print all of the records in table1 in detail band 1 BEFORE it starts to print all of the records in table 2 in detail band 2.
>>
>>What I keep ending up with though is a record from table1 printing, then a record from table2, et al. all in the same section. I need separate sections really with a heading above both. I guess I need to do it the old way?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform