Hello everyone!
I am experiencing a peculiar issue with an Access report. This is the first time I've ever made an Access report, however I have made numerous, fairly complex reports in Crystal and SSRS (BIDS).
I am reporting off of a fairly large-scale database, as it contains numerous tables, of which some use 1-1, and others use 1-* relationships.
To describe my problem, let me use certain tables as an example. I have one table called tblClaim which has a 1-* relationship with a table called tblPassenger. Each record within tblPassenger can contain multiple records from tblPhone. In my report, I have a subreport called srpPhone which is contained within a subreport srpPassenger. srpPassenger is then contained within the main report.
When I view ("Print Preview") the report or print the report out on paper, everything looks as it should. However, when I export the report (when I use DoCmd.SendObject or DoCmd.OutputTo, or I click File > Send To or File > Export), the report looks different. Instead of having one, two or three phone numbers for each passenger, the report shows 8 of each phone number (8, 16, or 24 phone numbers). Not only is the data duplicated, but the labels for these phone numbers are duplicated as well, even if there is no phone number for that passenger.
The following URLs provide screenshots of a section of the report with blackened-out data (to hide personal information) and a fake phone number:
One screenshot shows how the phone number should be displayed, and the other illustrates the report exported incorrectly.
Please let me know if more information is required. I greatly appreciate the help that anyone can provide! Thank you in advance for your time.
I am experiencing a peculiar issue with an Access report. This is the first time I've ever made an Access report, however I have made numerous, fairly complex reports in Crystal and SSRS (BIDS).
I am reporting off of a fairly large-scale database, as it contains numerous tables, of which some use 1-1, and others use 1-* relationships.
To describe my problem, let me use certain tables as an example. I have one table called tblClaim which has a 1-* relationship with a table called tblPassenger. Each record within tblPassenger can contain multiple records from tblPhone. In my report, I have a subreport called srpPhone which is contained within a subreport srpPassenger. srpPassenger is then contained within the main report.
When I view ("Print Preview") the report or print the report out on paper, everything looks as it should. However, when I export the report (when I use DoCmd.SendObject or DoCmd.OutputTo, or I click File > Send To or File > Export), the report looks different. Instead of having one, two or three phone numbers for each passenger, the report shows 8 of each phone number (8, 16, or 24 phone numbers). Not only is the data duplicated, but the labels for these phone numbers are duplicated as well, even if there is no phone number for that passenger.
The following URLs provide screenshots of a section of the report with blackened-out data (to hide personal information) and a fake phone number:
One screenshot shows how the phone number should be displayed, and the other illustrates the report exported incorrectly.
Please let me know if more information is required. I greatly appreciate the help that anyone can provide! Thank you in advance for your time.