For Programmers: Free Programming Magazines  


Home > Archive > Clarion > May 2006 > detail bands not grouped









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author detail bands not grouped
tcs@mvn.net

2006-05-17, 6:55 pm

I have a parent file and 2 child files. The child files could have 0 to
10 records for a parent.

The Parent data prints in the header. Child 1 is to print in as a
group (detail 1) then the Child 2 prints as a group (Detail 2). The
Parent memo is printed in the footer.

The report formatter preview shows a correct print. when I compile
and print, the child 1 & 2 alternate. 1A 2A 1B 2B 1C 2C etc. if only
one record in a I get 1A 2A 1A 2B 1A 2C

Any Ideas?

John T

sandinzz@yahoo.com

2006-05-19, 7:55 am

Hi
In windows manager -> TakeRecord embed point of your report procedure
(for parent file) put something like this:

loop through child1 file and Print(detal1)
(set(key,key) ... loop ... next ... test segments ...print())
break the loop if segments of key are not equal with segments of
parent record -

make the same code for child2 file

Maybe you should add children files in Other Files in Table schematic
and delete them frrom "Report Procedure" in Table Schematic
Did not test it.







Report procedure to

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com