I'm new in delphi4. I made an invoice module and I would like to print it.
The invoice consiste of two tables. MasterXYTable and DetailsXYTable. I'm trying to print it in quick report but with no succeed.
In the quick report I have defined again the Two tables giving them the same name MasterXYTable and DetailsXYTable. I put the Master table in Title Band and the detailsTable in the details Band and I made a Summary Band. In the summary band I put expressions to sum From MasterTable and from DetailsTable. In quick report main form I defined the DataSet to MasterXYTable.
My Problems as follows:
- In the quickreport when I'm previewing the Invoice in the masterTable always shows the first record and in detailsTable if in one invoice there are more than one record, it shows only the first record and it shows also the first record from diffrent invoice numbers.
In the Summary band I'm getting resulsts only from MasterTable and nothing from detailsTable. In the exression wizard in the database field I cant insert database in expression I'm getting error message List Index out of bouds(0).
Thank you in advance for your help.