Feb 13, 2003 #1 pollenman Technical User Dec 13, 2000 68 GB I would like to Click a buttom which prints a report based on the record selected on the form Regards Terry
I would like to Click a buttom which prints a report based on the record selected on the form Regards Terry
Feb 13, 2003 1 #2 ajdesalvo IS-IT--Management May 1, 2000 334 US Use the Where clause in your docmd.openreport command: DoCmd.OpenReport "MyReport", acPreview, , "[LastName] = '" & Forms![MyForm]![LastName] & "' " Happy coding! Anthony J. DeSalvo President - ScottTech Software "Integrating Technology with Business" Upvote 0 Downvote
Use the Where clause in your docmd.openreport command: DoCmd.OpenReport "MyReport", acPreview, , "[LastName] = '" & Forms![MyForm]![LastName] & "' " Happy coding! Anthony J. DeSalvo President - ScottTech Software "Integrating Technology with Business"