Hi
I have created a report based on a query. The query shows one specific record out of 1000sss
My code is below but I've missed something as it attempts to print out all records - 39000
I suspect the error is in the line accPagesAll but deleting it makes no difference
thanksCode:Private Sub btnPrintBansReport_Click() DoCmd.OpenReport "rpt_Banns", , , "BannsId = " & Me.BannsId DoCmd.PrintOut acPagesAll End Sub
Ian