AndrewMozley
Programmer
I am familiar with designing a .frx report which is based on a single table or cursor, perhaps also using fields from related tables. I would now like to produce a single report which has two sections in it, each one being a listing of the contents of a cursor or table, perhaps with totals. The two sections of the report are not necessarily related to each other.
For example, two cursors have been generated :
Cursor tCust (tCode C(4), tName C(30), tBalance N(10,2))
Cursor tProduct (tProdcode C(16), tQty N(4), tCost N(8,2))
I would like to produce a single report, where the first page says :
and the second page shows
I understand that it may be possible by designing a banded report. I am not familiar with these, but if that is the way to go, if anyone has a worked example, I would, as always, be grateful.
For example, two cursors have been generated :
Cursor tCust (tCode C(4), tName C(30), tBalance N(10,2))
Cursor tProduct (tProdcode C(16), tQty N(4), tCost N(8,2))
I would like to produce a single report, where the first page says :
Code:
Debtors
Account Name Balance
------- ---------------------------- ----------
A12 John Smith 123.00
F18 General Trading Co 987.00
---------
Total debtors 1110.00
and the second page shows
Code:
Stock Value
Product Stock Cost Value
---------- -------- ----- --------
7123 5 12.50 62.50
7705 1 8.00 8.00
-------
Total stock value 70.50
I understand that it may be possible by designing a banded report. I am not familiar with these, but if that is the way to go, if anyone has a worked example, I would, as always, be grateful.