rproactive
Technical User
I have tried everything -please help. I have a report based on a query that is duplicating the query results anywhere from 2 to 19 times. It seems to depend on the number of rows of output.
The report has a Report Header, Detail & Page Footer sections.
Running the query produces correct results.
There is no VBA code behind the report but it is called from an Event on a Form.
Suggestions or ideas as to where the duplicates may be coming from greatly appreciated & needed Thanks
The report has a Report Header, Detail & Page Footer sections.
Code:
Query:
SELECT
M_FundPaid.FundPaidReceiptSlips_IDs,
M_FundPaid.FundPaidAmount,
M_FundPaid.FundPaidTypeFunds_IDs,
M_FundPaid.FundPaidBanks_IDs,
M_FundPaid.FundPaidDocumentNumber,
M_FundPaid.FundPaidAccountNumber
FROM M_FundPaid
WHERE (((M_FundPaid.FundPaidRRs_IDs)=[Forms]![F_DepositSlip]![cboRentRollMonth]) AND ((M_FundPaid.FundPaidRRSub_IDs)=[Forms]![F_DepositSlip]![cboDepositNumber]))
WITH OWNERACCESS OPTION;
Running the query produces correct results.
There is no VBA code behind the report but it is called from an Event on a Form.
Code:
EVENT:
Private Sub cmdPrint_Click()
'*****************************ROGERS SUB03***************************************
On Error GoTo Err_Report_Click
DoCmd.OpenReport "R_DepositSlip", acNormal
msgbox "Deposit Slip PRINTED"
Exit_Report_Click:
Err_Report_Click:
End Sub