473,473 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

help needed with reports

3 New Member
please help, i have used an access template (invoicing) and ripped it all apart to create a simple proposal system for my home business (or at least a business i am trying to start up !)

when you print an invoice you get the screen where you are prompted to put in description etc. so far this is all working lovely.

BUT

i have added 6 checkboxes for additional information which i want to compile onto the same report as the invoice (on additional pages).

i have created the reports individually (some are more than one page) which generally do not have many database items in them but would like to know how i would add these as additional pages to the current invoice, is this possible ? and also how do i ensure only the ones with the check boxes checked are the ones which get added to my existing invoice report.

thank you !
Feb 6 '07 #1
6 1461
Rabbit
12,516 Recognized Expert Moderator MVP
You can insert a page break in a report.

And for checkboxes in reports, refer to the following:
Checkboxes in reports
Feb 6 '07 #2
NeoPa
32,556 Recognized Expert Moderator MVP
If Rabbit's answer doesn't give you all you need, then consider explaining the question again as it's a little unclear what you do want.
If there are items you need to include in the solution, then they should be explained here clearly. I quick reference to 'Checkboxes' doesn't give much indication of what you really want and is not easy to work from.

MODERATOR.
Feb 6 '07 #3
cordellhutchings
3 New Member
Thanks for your response, basically i have a report which is working fine. the report, for example is 1 page in length..

when you press the print invoice button (before the print preview screen) you have a form load up called 'print invoice' (this was using the wizard) where it confirms a few details before going into the printable report.

on this form i have placed checkboxes which correspond to optional literature if required, if you dont check any boxes, you will just have the printable invoice screen. the help i need is when you have checked for example 2 checkboxes (out of 6) - how do i get these reports added to the pages after the invoice report?? so for argument sake if 1 extra literature = 1 page, and 2 checkboxes are selected i will then have the invoice on 1 page (this always stays the same), then the literature that checkbox1 contains, then the literature that checkbox2 contains. so 3 pages allthogether.

how do i check what checboxes are ticked and how would i place the relevant literature into 1 continuous report ready for printing ?

hoping this makes more sense !
Feb 12 '07 #4
NeoPa
32,556 Recognized Expert Moderator MVP
I don't think that you can do what you're trying to in that way.
This would complicate your report no-end. Think about creating separate reports and running them conditionally.
Feb 13 '07 #5
cordellhutchings
3 New Member
I don't think that you can do what you're trying to in that way.
This would complicate your report no-end. Think about creating separate reports and running them conditionally.
ok, so i make a report for each piece of additional literature, any idea how i would go about running them conditionally (and what does this mean !???)

thank you so much for your help so far !
Feb 14 '07 #6
NeoPa
32,556 Recognized Expert Moderator MVP
I was under the impression that the extra bits were required in some circumstances but not in all. If that's the case then you need (your code needs) to determine whether or not your conditions are met before running the report.
Expand|Select|Wrap|Line Numbers
  1. Private Sub cmdReports_Click()
  2.     Dim strReport As String
  3.     'Dim varWhere As Variant
  4.  
  5.     strReport = "rptMain"
  6.     Call DoCmd.OpenReport(strReport, acViewPreview)
  7.     'Or if a Filter is required for the report use following instead
  8.     'varWhere = "Whatever you want to filter on"
  9.     'Call DoCmd.OpenReport(strReport, acViewPreview, , varWhere)
  10.     If Me!chkExtra1 Then
  11.         strReport = "rptExtra1"
  12.         Call DoCmd.OpenReport(strReport, acViewPreview)
  13.     End If
  14.     If Me!chkExtra2 Then
  15.         strReport = "rptExtra2"
  16.         Call DoCmd.OpenReport(strReport, acViewPreview)
  17.     End If
  18. 'Et Cetera
  19. End Sub
Feb 14 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: ChadDiesel | last post by:
Hello everyone, I'm having a problem with Access that I need some help with. The short version is, I want to print a list of parts and part quantities that belong to a certain part group---One...
1
by: Leen Wouters | last post by:
Hello, I am very new to access and yet I have been asked to "develop" a small program with it that has several functionalities. I 'm going to describe the situation here, maybe someone can...
2
by: BrianDH | last post by:
Hi Does anyone here have any experience or examples with the manipulation of “Top N Expert” via runtime code? I need to be able to change/alter the Group & Top N Sort Order on the fly....
2
by: jainamber | last post by:
Hi, I am using this code to search on the id attribute of the Report element in this XML fragment. If I find a match for the id, then I need to return the value of the attributes of the child...
0
by: bboldi | last post by:
I created a disposable email service (and a public login database) http://www.dontreg.com - PHP MYSQL - to help people fight against spam , and i am searching for testers... so please if you have...
8
by: darnnews | last post by:
I have a form. When a person selects a publication from a listbox, this snippet of code is supposed to look up authors that correspond to that publication and populate the Author List Box, but...
3
by: simonharrison | last post by:
Hello everyone. Hopefully someone can point me in the right direction here. I'm wanting to write a script to open microsoft word and adobe pdf documents . Here is a little background: At the...
4
by: Wook | last post by:
Ok I got a set of Forms Reports etc it goes like this Reports Form Passes a Filter to the report for the needed results The filter it passes along is fine except one problem I need a way for the...
7
by: google | last post by:
I am trying to automate the way reports are printed in an Access 2003 database - I have ~200 records (people) who require between 5 and 10 customized reports (depending on values within certain...
0
by: akshaycjoshi | last post by:
Most of you people are already familier with the working of crystal reports unlike me.I am working on an application when I have no other option but to use CR. It is very diff. for me to read an...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.