Hi,
I have been trying to make this work for 3 days and hasn't been successful.
I have a form and a subform and within the subform I have a button that allow the user to create a report. The report also has a subreport.
All works great when the subform which in turn the subreport have one record but when the subform and has lets say 3 records then I will have identical reports but all I need is one
I tried the "Hide Duplicate" feature but that doesn't work for me as I am getting the same report multiplied by the number of records in the subform.
My Report and Subreport are linked to a query. The query has 2 tables that are used in the Form and Subform.
"NCRNumber" is the common field between the 2 tables and links the form to the subform.
Example:
RecordID (Autonumber) = 1 (Main Table)
NCRNumber = 16-0001 (Main Table & Second Table) (Consist of 4 "PartNo")
PartNo =1234, 4567, 0987, 1098 (Second Table)
Qty = 5, 2, 4, 2 (Second Table)
So what's happening when I run the query which feeds the report make me get in this case for similar reports
Query Output
Record ID NCRNumber PartNo QTY
1 16-0001 1234 5
1 16-0001 4567 2
1 16-0001 0987 4
1 16-0001 1098 2
Right now I save the report as pdf and use PDFCreator to delete the duplicate reports. Its time consuming
Hope I am making sense.
Any tips on this is greatly appreciated
Thanks
RB
I have been trying to make this work for 3 days and hasn't been successful.
I have a form and a subform and within the subform I have a button that allow the user to create a report. The report also has a subreport.
All works great when the subform which in turn the subreport have one record but when the subform and has lets say 3 records then I will have identical reports but all I need is one
I tried the "Hide Duplicate" feature but that doesn't work for me as I am getting the same report multiplied by the number of records in the subform.
My Report and Subreport are linked to a query. The query has 2 tables that are used in the Form and Subform.
"NCRNumber" is the common field between the 2 tables and links the form to the subform.
Example:
RecordID (Autonumber) = 1 (Main Table)
NCRNumber = 16-0001 (Main Table & Second Table) (Consist of 4 "PartNo")
PartNo =1234, 4567, 0987, 1098 (Second Table)
Qty = 5, 2, 4, 2 (Second Table)
So what's happening when I run the query which feeds the report make me get in this case for similar reports
Query Output
Record ID NCRNumber PartNo QTY
1 16-0001 1234 5
1 16-0001 4567 2
1 16-0001 0987 4
1 16-0001 1098 2
Right now I save the report as pdf and use PDFCreator to delete the duplicate reports. Its time consuming
Hope I am making sense.
Any tips on this is greatly appreciated
Thanks
RB