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 VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 28th, 2006, 06:16 AM
Registered User
 
Join Date: Jul 2006
Location: Norwich, Norfolk, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page Break Issues

I have a logistics database that shows a report with all drops relative to the vehicle. I have a form that filters the query that is behind the report. This shows me all drops that are selected from a multi select list box from a form. I need to print each drop on a seperate piece of paper the report that show the drops selected is a sub form.

I am using Access 2003.

Does someone have some code that will do a For Each item selected in listbox print each drop number on a seperate piece of paper.



Thanks for any help and source code supplied
Reply With Quote
  #2 (permalink)  
Old July 28th, 2006, 09:48 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

What is a drop? What is a vehicle?

What is the query that is behind the report?

What you need to do is to create a report that does only one record per page. This is easy enough if the data is consistent. However, if it is not (various lengths) then you can run a report for each "drop" in your list box. Just enumerate them and run the report where "[Drop] = " & "'" & sDrop(i) & "'"

Need more info.


mmcdonal
Reply With Quote
  #3 (permalink)  
Old July 31st, 2006, 05:24 AM
Registered User
 
Join Date: Jul 2006
Location: Norwich, Norfolk, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A drop is integer value and a vehicle is of a string value.

The report is a sub report and all data is consistant. I am having trouble with the enumeration process. I would be grateful for some pointers

Thanks for any help and source code supplied
Reply With Quote
Reply


Thread Tools
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
SRS2005 List report having page break issues LenexaKS Reporting Services 0 August 29th, 2008 11:48 AM
Page break grstad Classic ASP Basics 5 December 31st, 2006 12:27 PM
Page Break Neal Crystal Reports 1 August 31st, 2006 10:33 AM
Page Break chakravarthy_vr Reporting Services 1 June 22nd, 2006 10:16 AM
page break pab006 Classic ASP Basics 12 December 17th, 2003 05:37 AM



All times are GMT -4. The time now is 09:31 AM.


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