UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Only first record in subform prints    
 
   
AvgJoe
post Nov 19 2004, 04:24 PM
Post #1

UtterAccess Ruler
Posts: 2,042
From: West Coast, USA



Greetings. I'm in a bit of a pickle since I have two different "customers" (with somewhat similar databases) who want their respective databases by the end of the year.

Here's what I have - seven tabbed subforms, some of which have multiple entries and others which have none. Whatever the tabbed subform, if there are multiple entries, only the first record entered prints out (all of the records exist in their respective tables).

What do I need to do to have the multiple entries print out? All assistance is greately appreciated.


TIA,

AvgJoe
Go to the top of the page
 
+
quest4
post Nov 19 2004, 04:36 PM
Post #2

UtterAccess Ruler
Posts: 1,884
From: Cleveland, OH



Joe, I use this in th OnClick event of a cmdButton:
Dim stDocName as String
stDocName = "ReportName"
DoCmd.OpenReport stDocName, acNormal, , "[Pkey] =" & Me.Pkey
Do the appropriate substiutions and I hope it works as well for you as it does for me. hth.
PS: this print out sometimes as many as a dozen records which are in the subform.

Edited by: quest4 on Fri Nov 19 16:37:40 EST 2004.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 05:00 AM