Again with a duplicate subform question....

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

OK, I have a db that tracks Service Orders. Each Service Order (SO) has logs
associated with them. The join field is the SO number in a one-to-many
relation. I needed a report that shows the SO detail and the logs associated
with it.... The report I've created shows the SO Detail with a sub report
showing the SO logs for each SO. The Link Master and Link Child fields are
the SONumber. Since some jobs have more than one SO logs associated with
them, my sub report repeats based on the number of log entries for the SO.
If there are 3 log entries for the SO, I get 3 subreports. Since there is no
hide duplicates on the Subreport object, how can I suppress the subsequent
subreports? I've searched the newsgroups with no apparent answer to my
problem. Any Ideas>
 
It sounds like the Record Source of your main report contains the SO
Detail/Log table. If so, remove it.
 
jhugery said:
OK, I have a db that tracks Service Orders. Each Service Order (SO) has logs
associated with them. The join field is the SO number in a one-to-many
relation. I needed a report that shows the SO detail and the logs associated
with it.... The report I've created shows the SO Detail with a sub report
showing the SO logs for each SO. The Link Master and Link Child fields are
the SONumber. Since some jobs have more than one SO logs associated with
them, my sub report repeats based on the number of log entries for the SO.
If there are 3 log entries for the SO, I get 3 subreports. Since there is no
hide duplicates on the Subreport object, how can I suppress the subsequent
subreports?


It sounds like you are getting multiple SO details, not just
multiple subreports. If so, it's because you have the Logs
table joined to the SO table in the main report's record
source query. Just remove that table from the query and it
should be OK.
 
Back
Top