473,396 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Access 2000 First record of report preceeded by blank record

Bob
Hi,
I am using Access 2000 to print out an address book. I have designed
the report based on a database whose first record is not blank. In the
design there is a one line report header, a onle line page header,
three lines of detail (name address etc)and a footer.
On previewing or printing the report it inserts a blank three line
detail section before the first record. Every other page is fine
except this first page. Not a big deal but it send the book into an
extra page at the end that could be avoided if it printed correctly.
Any ideas? Thanks Bob
Nov 12 '05 #1
5 4525
I haven't seen this phenomenon. I'm sure you've checked to make certain
there isn't blank space after any Controls in the Report Header or Page
Header. If there's not, and there's not extra space before the Controls in
the Detail Section, I don't know where to tell you to look next.

Maybe someone here would have suggestions if you would copy the SQL for the
RecordSource of the Report and paste it into a followup message.

Larry Linson
Microsoft Access MVP

"Bob" <lr*******@r3interactive.com> wrote in message
news:8a**************************@posting.google.c om...
Hi,
I am using Access 2000 to print out an address book. I have designed
the report based on a database whose first record is not blank. In the
design there is a one line report header, a onle line page header,
three lines of detail (name address etc)and a footer.
On previewing or printing the report it inserts a blank three line
detail section before the first record. Every other page is fine
except this first page. Not a big deal but it send the book into an
extra page at the end that could be avoided if it printed correctly.
Any ideas? Thanks Bob

Nov 12 '05 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There may not be a blank record in the result set, but there may be
NULL fields in the report's sort fields (NULL fields sort (ascending)
to the top of a query's result set. Run the query that supplies the
report. Is there a record with NULL, or empty strings, in the fields
you are placing in the report's detail section?

MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP57M94echKqOuFEgEQJXfgCgz09blCVb983ZTI4PpJPdDu Z+42EAnilD
kmOD1HDSDkjJxyoV1gKOf29H
=5LuD
-----END PGP SIGNATURE-----

Bob wrote:
Hi,
I am using Access 2000 to print out an address book. I have designed
the report based on a database whose first record is not blank. In the
design there is a one line report header, a onle line page header,
three lines of detail (name address etc)and a footer.
On previewing or printing the report it inserts a blank three line
detail section before the first record. Every other page is fine
except this first page. Not a big deal but it send the book into an
extra page at the end that could be avoided if it printed correctly.
Any ideas? Thanks Bob


Nov 12 '05 #3
Bob

Hi Larry,
Thanks for your help. I have now solved the problem - not directly from
the replies but from a clue I got from them. I had linked the table to
an Excel sheet and found one blank record at the bottom of the linked
table. I had assumed that because the other records were in alpha sort
order that the report process just printed it out without any further
sorting. But as this was not so, this record was moved from the bottom
to top during the report generation process. I tried to remove the blank
record but Access would not allow me to do this in a linked table. Then
I went back to the excel sheet but all the lines after this are blank so
removing one would not achieve anything. So I imported the table,
instead of linking to it, and was then able to remove the offending
blank record. Voila! The print out was perfect. I suppose there are
other (better) ways of doing it - but at least this worked.
Thanks again.
Cheers
Bob

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #4
Bob
Hi,
I have solved the problem - not directly from the replies but from a
clue I got from them. I had linked the table to an Excel sheet and found
one blank record at the bottom of the linked table. I had assumed that
because the other records were in alpha sort order that the report
process just printed it out without any further sorting. But as this was
not so, this record was moved from the bottom to top during the report
generation process. I tried to remove the blank record but Access would
not allow me to do this in a linked table. Then I went back to the excel
sheet but all the lines after this are blank so removing one would not
achieve anything. So I imported the table, instead of linking to it, and
was then able to remove the offending blank record. Voila! The print out
was perfect. I suppose there are other (better) ways of doing it - but
at least this worked.
Thanks again.
Cheers
Bob


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #5
I may be barking up the wrong tree, please forgive me if I am but in
Access 97 I have a similiar problem. I think it is caused by (or has
something to do with) default values as one of my fields defaults to
zero and the line on both the report and the query which is blank has
a zero in this field. ?!?
Nov 12 '05 #6

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

Similar topics

6
by: John | last post by:
Hi, I have simple database based on 3 tables. Relationship is 'one to many' between table 1 and 2, also between 2 and 3 table'one to many'. I have made form where I enter data in all 3 tables....
3
by: CSDunn | last post by:
Hello, I have a situation with MS Access 2000 in which I need to display report data in spreadsheet orientation (much like a datasheet view for a form). If you think of the report in terms of what...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
7
by: Heather | last post by:
I am trying to create a report which only displays the most current record so the user can publish with word just the most current record to email this out to a DL. Thank you in advance.
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
0
by: Ann | last post by:
I have an Access 2000 database with 4 memo fields in it named memo1 memo2 memo3 and memo4. Some fields have data in them and some don't. If I create a report and put the 4 fields (with no labels)...
7
by: manning_news | last post by:
I've got a report that's not sorting correctly. I build a SQL statement and assign it to the recordsource in the Open event, sorting the data the way the user chooses. The user can choose up to 3...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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...
0
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...

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.