Hi,
See:
ACC2000: How to Print a Single Record from a Form in a Report (209560)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;209560
For the line
strCriteria = "[CustomerID]='" & Me![CustomerID] & "'"
Change it to something like
strCriteria = "[CustomerID]='" & Me![Name of subForm
control].Form![CustomerID] & "'"
I hope this helps! If you have additional questions on this topic, please
respond back to this posting.
Regards,
Eric Butts
Microsoft Access Support
(e-mail address removed)
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<
http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <
http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."
This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
| Content-Class: urn:content-classes:message
| From: "Loux2" <
[email protected]>
| Sender: "Loux2" <
[email protected]>
| Subject: form with subfrom to report to print.
| Date: Mon, 19 Jul 2004 20:52:48 -0700
| Lines: 2
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcRuDQYHi9WzQgOiSPelbX6Xh5OHDA==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.access.gettingstarted
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.access.gettingstarted:152499
| NNTP-Posting-Host: tk2msftngxa12.phx.gbl 10.40.1.164
| X-Tomcat-NG: microsoft.public.access.gettingstarted
|
| I have a from with a subform with the current record in
| it. How do I get that record to the printer.
|