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 !
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 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.
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 !
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.
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 !
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. - Private Sub cmdReports_Click()
-
Dim strReport As String
-
'Dim varWhere As Variant
-
-
strReport = "rptMain"
-
Call DoCmd.OpenReport(strReport, acViewPreview)
-
'Or if a Filter is required for the report use following instead
-
'varWhere = "Whatever you want to filter on"
-
'Call DoCmd.OpenReport(strReport, acViewPreview, , varWhere)
-
If Me!chkExtra1 Then
-
strReport = "rptExtra1"
-
Call DoCmd.OpenReport(strReport, acViewPreview)
-
End If
-
If Me!chkExtra2 Then
-
strReport = "rptExtra2"
-
Call DoCmd.OpenReport(strReport, acViewPreview)
-
End If
-
'Et Cetera
-
End Sub
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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...
|
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....
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
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,...
|
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...
| |
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |