Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Export to Word < Database Title & Icon | Multivalued >
 
Export to Word
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   2 months ago


Back to Export to Word
 

Export to Word Upload Images   Link  
John Muir 
2 months ago
Followed instructions for VBA code. But, when I hit the button, it out puts 10,000 pages, not just the ID I'm working with. I put the button on a form that is opened from the main form.

To preview this same report i used: DoCmd.OpenReport "SAR non-litigation-Annuity Language-Minor" , acViewPreview, , "[ID]=" & [ID], and that works great.

How do I print this report to word and only get the report for the ID i'm working with?

Thanks,

John
Scott Axton
2 months ago
How are you printing it?  
You should be able to just print fom the preview screen and only print he single report, Not all of them.
If that syntax is returning the correct report it shouldn't print additional pages.
Adam Schwanz
2 months ago
Just to verify, is there an ID field on the form you're pushing the button on?

If there is, you have spaces and dashes in the name, very possible access is trying to do some kind of mathematical calculation with it. Try putting it in brackets and see if it works. [SAR non-litigation-Annuity Language-Minor]

This thread is now closed. If you wish to comment, start a NEW discussion, below.
 


Back to Export to Word Comments
 

Start a NEW Conversation
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 

You may want to read these articles from the 599CD News:

7/1/2022Date Criteria
6/30/2022Sales Chart
6/27/2022Rounding Errors
6/26/2022Calendar Seminar Students Only
6/24/2022Multi Combo One Field
6/23/2022Modal & Popup
6/21/2022Week of Year
6/16/2022Value List Combo
6/15/2022Weekday
6/14/2022Project Budgets
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn