M
moondaddy
I have a report which uses several sub reports. The main report is bound to
a temp table called tbLease. I created a header for each lease record. The
detail section has a subreport called contracts and another called wells.
each is bound to a temp table (tbContracts and tbWells). I'm not using any
queries and the sub reports use the child/master properties correctly.
For each lease record the report will show a list of contracts under that
lease, and then a list of wells under that lease. most of the time it works
as expected. however, on a few pages the contract sub report repeats itself
and another page both the contract and well sub reports repeat them selves.
Here's some sample data where the contract report shows itself twice:
Query2 Ls_ID LsD_ID Ct_ID CtD_ID
2826 4266 2717 2310
2826 4266 2718 2311
Ls_ID and LsD_ID are fields in the lease header of the report.
Ct_ID and CtD_ID represent data from the contract. each contract record
also include the LsD_ID field which is used in the master/child properties.
In this case the contract sub report has 2 rows of data as you would expect.
however, the contract sub report shows itself a second time with the
identical 2 rows of data. I've created access reports for 15 years and have
never seen this issue.
can someone please advise? I can send a small mdb file with the temp tables
and report sample if you want.
Thanks.
a temp table called tbLease. I created a header for each lease record. The
detail section has a subreport called contracts and another called wells.
each is bound to a temp table (tbContracts and tbWells). I'm not using any
queries and the sub reports use the child/master properties correctly.
For each lease record the report will show a list of contracts under that
lease, and then a list of wells under that lease. most of the time it works
as expected. however, on a few pages the contract sub report repeats itself
and another page both the contract and well sub reports repeat them selves.
Here's some sample data where the contract report shows itself twice:
Query2 Ls_ID LsD_ID Ct_ID CtD_ID
2826 4266 2717 2310
2826 4266 2718 2311
Ls_ID and LsD_ID are fields in the lease header of the report.
Ct_ID and CtD_ID represent data from the contract. each contract record
also include the LsD_ID field which is used in the master/child properties.
In this case the contract sub report has 2 rows of data as you would expect.
however, the contract sub report shows itself a second time with the
identical 2 rows of data. I've created access reports for 15 years and have
never seen this issue.
can someone please advise? I can send a small mdb file with the temp tables
and report sample if you want.
Thanks.