Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick Reports Master/Detail

Status
Not open for further replies.

Fluke026

Programmer
Aug 20, 2002
32
US
Hello,

I am working on a program for my wife to store, organize, and print her recipes (D5 Professional with Paradox tables). The store and organize portion has gone great. Printing is hitting a small snag.

The ingredients are assigned as detail records of each recipe while RecipeName and Instructions are in the Master. As it works now, the QuickReport prints...

---Detail Band---
RecipeName
Instructions
---Subdetail Band---
Ingredient List
---End Report---

How do I rework it to print another detail band connected to the same table underneath the ingredients list? Right now I am working on a routine to write the needed TTable records to a text file and then print that from the QR, but doing it with proper bands might be easier (if possible).

Thank you
Frank Luke
 
:)

---ColumnHeader Band---
RecipeName
Instructions
---Detail Band---
Ingredient List
---End Report---
 
There are some examples of gripuing data for reports included with Delphi but basically your on the right tracks. Keep you detail and subdetail bands, just add a qrgroup and a qrband. Set the qrband to type groupfooter and use the qrgroups datafield to define the grouping. Personally I always use a simple SQL statement with a query component as the reports dataset so if you know basic SQL you can create some good reports this way. Arte Et Labore
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top