By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,086 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,086 IT Pros & Developers. It's quick & easy.

Print acSelection (i.e. single record) from subform

P: n/a
I have a form containing a subform. I have placed some vb within the
subform to print the current record. When I use this vb from within
the main form, it prints all of the records for the individual (i.e,
the main form). I only want it to print the current record though.

This is because the vb is not specifically selecting the subform as
the 'focus'
or 'current' form. eg:

Private Sub Command309_Click()

DoCmd.PrintOut acSelection, , , acMedium, 1, False
(this needs to refer to the subform specifically)
End Sub

Anyone know how to do it?

Thanks, Nick.
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.