I'm not finding that situation in the header record source (good
suggestion
though!). The table only has one primary key and the query returns only
one
row. Don't know if this will help but here's the query for the header:
SELECT DISTINCT dbo_customer.FULLNAME, dbo_customer.ADDR1,
dbo_customer.ADDR2, dbo_customer.VILL, dbo_customer.STATE,
dbo_customer.ZZP,
dbo_HISTORY.SINV, dbo_HISTORY.BKG, dbo_HISTORY.CENT, dbo_HISTORY.CVIFLOC,
tblSaleType.SaleType, dbo_HISTORY.PONUM, dbo_customer.QDLIC,
dbo_customer.FEDLIC, dbo_customer.EIN, dbo_VILLAGE.VNAM,
dbo_HISTORY.VOYNUM,
dbo_HISTORY.DINV, dbo_HISTORY.VESSEL
FROM tblSaleType INNER JOIN ((dbo_customer INNER JOIN dbo_HISTORY ON
dbo_customer.CVIFLOC = dbo_HISTORY.CVIFLOC) INNER JOIN dbo_VILLAGE ON
dbo_customer.VCOD = dbo_VILLAGE.VCOD) ON tblSaleType.SaleTypeCode =
dbo_HISTORY.CACH
WHERE (((dbo_HISTORY.SINV)=[Forms]![frmMain]![txtInvoiceNumber]));
Duane Hookom said:
I expect you have duplicate InvoiceID field values in your header record
source.
--
Duane Hookom
MS Access MVP
I have a master report that contains invoice header information and a
subreport that contains invoice details. The subreport works fine when
run
by itself but when inserted in the master (invoice header), it displays
two
instances of the subreport. This is being inserted in the detail
section
of
the master. Any ideas why this is happening?
Thanks, Mike