473,671 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Controling Report Printing Positions


Hi Folks, am working on an archiving project which they use a little
format of paper on which they type on it code and descriptions on each
line, and they append on it new lines later on via a
typewriter..... .....

and since we gonna automate this work am facing a slight prob.....

So my question is can i from access reports control from which position
i want to start printing ???

meaning last time i printed on the paper 2 lines and later on i wanna
print from the third line without reprinting the previous lines ???!!!!
thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
1 1970
On 15 Jan 2004 16:39:24 GMT, Joe Saliba <jo*******@hotm ail.com> wrote:

Hi Folks, am working on an archiving project which they use a little
format of paper on which they type on it code and descriptions on each
line, and they append on it new lines later on via a
typewriter.... ......

and since we gonna automate this work am facing a slight prob.....

So my question is can i from access reports control from which position
i want to start printing ???

meaning last time i printed on the paper 2 lines and later on i wanna
print from the third line without reprinting the previous lines ???!!!!
thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


I think this will help.

Add a Report Header to your report.
Add an unbound control to the header.
Name it 'SkipControl'.

In the Declarations section of the Report code window write:
Dim intY as Integer
====
Code the Report Header Format event:
[SkipControl] = "Skip"
' The next line is optional if you do not want the report header to
print
Cancel = True
====
Code the Report's Open event:

intY = InputBox("Skip how many lines?","Skip", 0)
====
Code the Detail Print event:

If PrintCount <= intY And [SkipControl] = "Skip" Then
Me.NextRecord = False ' Skip the line on sheet
Me.PrintSection = False
Else
[SkipControl] = "No" ' Print
Me.PrintSection = True
Me.NextRecord = True
End If
====
When you run this report, you will be prompted to enter the number of
lines to skip.

--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
13305
by: Mark C | last post by:
All, I have exhaustingly been looking through the newsgroups in search of a way to systemically output an Access 97 report to a pdf file using the full version of Adobe Acrobat. I want the user to be able to click a button and have the Access report saved as a pdf in a directory specified by me the programmer. I have seen a posting by John Baker promoting a web-sight that has an mde that one can reference in any database but after 30...
1
2666
by: steven | last post by:
I am creating some financial reports in Access 2000, and I am having problem that I can't resolve. The report sorts information first by vendor, then by budget line number. It generates the information I need accurately, but I am having problems with the layout. -The budget line header contains information about the vendor--it looks great. -The budget line footer contains the sum, and I am not having any problems there.
2
1782
by: Claudia Fong | last post by:
Hi, I have 4 reports created in Ms-access and I will use VB to print those reports. My problem is I'm not sure if I can control wich report to print.. Those reports are almost the same, what is different is the logo in the report header or page header. Because there are 4 different logo. I want the user to choose in VB which logo to use and then VB will print the report that the user chose.
13
3907
by: salad | last post by:
Hi Guys: I was stuck. I needed to send a report to a file. My beautiful report(s) in Access were going to require loss of formatting with RTFs, a PITA in WordMailMerge, sending it as a text file...whatever. I described my situation to the guy I'm doing work for and he did some research for me and came up with the following link. http://www.novapdf.com/ The part that should excite us Access developers is their SDK
13
14919
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would show on only the top half of each page with whitepace at the bottom of each page. How can I get the detail to fill each page with my "half page height" report footer at the bottom of the last page? Any suggestions to solve this would be...
0
5757
by: John Smith | last post by:
Hello, I have 7 different crystal reports that need to be collated. Since I want to end up with a page of each (which all together make a single report), I created a blank main report and then added the 7 as subreports so they can print one after the other. I'm supposed to be printing them from a VB.Net 2003 application and I will be passing 2 parameters (start and end dates). These reports are huge (over 1000+ pages each). My original...
2
2001
by: cranfan | last post by:
I have a report that has fields more than 10 like comp_id comp_name comp_software etc. I want runtime users to edit this report according to their needs.Here is default report but maybe user wants to change the reports design. Comp_id | Comp_Name | Comp_Software (this is the default one) Comp_Software | Comp_id | Comp_Name | (this is what a user wants maybe)
3
1485
by: fauxanadu | last post by:
I have a report called rptFilter. In my frmPrint Form, I have four option controls that allow for selection of specific criteria to contol what appears in the report. I also have two text boxes (txtHeader1, txtHeader2) that I want to use to change the header labels in the report (lblHeader1, lblHeader2). When the user clicks the print button, this code runs: Select Case Me!fraWhere Case 1 DoCmd.OpenReport...
1
2040
by: MartinaN | last post by:
Hello, I have a MS Access 2000 question. I created a main report that consists of different subreports in the Detail section. I have a couple of queries that create tables for certain cities (the user enters the City ID). Everything works fine until the user enters an ID for a city that we don't have information for in all tables and then wants to see the report. When printing the separate subreports - the report still shows up just with an...
0
8483
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8824
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8673
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7444
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5703
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4416
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2060
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.