Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 24th, 2006, 09:12 PM
Registered User
Join Date: Jul 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jcalfg
Default Printing a form with a subform in it

hi, i have a form with a subform in it, and when a click on "Print Preview" it diSplays all the records of the subform, and i only want one record to print. bare with me:

a) 2 tables: Clients profiles & Product prices.

Imagine i'm with a client in front of me, and i start typing his name, phone numbeR etc. then, id like to choose only one record of the subform that i've already saved, in the "Form View" it only displays one product with all it's characteristics, but when i put the print preview, it displays all records in the subform, and it doesn't relate with what i had already selected. in other words, i want the client to have a copy of the price of the product, and only one with his name and everything on it, not the hole two tables in a nice format. HELP PLEASE!!!!!!

Reply With Quote
  #2 (permalink)  
Old July 25th, 2006, 03:40 PM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG

It sounds like one of two things.

1) When you open the report, you're not supplying a WHERE condition, for example:

DoCmd.OpenReport "MyReport", acPrintPreview, , "[EmployeeID] = " & Me.EmployeeID

2) If you are, it sounds like there should be a report and subreport construction. Your report and subreport are not linked via parent/child relationships.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
form/subform problem chacquard Access VBA 1 November 21st, 2006 06:50 PM
Open a subform from a form Vision G Access 5 May 13th, 2006 04:21 AM
Cant print when the form become subform yikchin Access 6 November 22nd, 2005 10:22 PM
How to link form and subform method Access 1 July 30th, 2005 02:19 AM
form/subform problem chacquard Access VBA 5 June 21st, 2004 10:45 PM

All times are GMT -4. The time now is 11:58 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.