473,396 Members | 1,590 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.

printing based on ID range

5
Hi,

First, Im really new in access and all I can say is this site is such a help.. Learn so much.. but still I have this problem.
Im working on Access 2007, my problem is I want to print a certain data from my table based on their ID. I wanted to range it from ID = 1 up to ID 20 then the printout will display all the data. Sorry for my bad english and poor explanation...
I hope someone will take time to comprehend what im saying...

thanks...
Dec 3 '08 #1
4 1469
ChipR
1,287 Expert 1GB
You can set the recordsource of the form/report that you want to print to
SELECT TOP 20 FROM ... ORDER BY id
Dec 3 '08 #2
znyder
5
thanks for the reply..
Is this the same if I have 1 to 100 entries and I only what to display on the report 50 to 70 data? thanks again..
Dec 4 '08 #3
ChipR
1,287 Expert 1GB
In that case, it would probably be eaiser to use BETWEEN like
SELECT * FROM ... WHERE id BETWEEN 50 AND 70 ORDER BY id
Dec 4 '08 #4
znyder
5
@ChipR
Hi ChipR,

Can you walk me through how to do this? please.. I have the following.
table: tbl_VouchDetails
Fields/Data type
ID/Number "which i have done to increment automatically thanks to bytes"
Company/text
Payee/text
Amount/Number

thanks,
znyder
Dec 5 '08 #5

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

Similar topics

5
by: FJ | last post by:
Hi all, I have a problem and I hope one of you can help me with it. I want to print labels for parcel shipments. I can make the label/report etc. I have one table with data, each record contains...
7
by: crazy | last post by:
Hi It seems something really simple, but can't figure out. It's not my homework :), was just looking at some C problems on the web and came across this one. why doesn't the following code print...
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
6
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if...
1
by: belinda | last post by:
I have used the ff command but only get the date printout and have no clue whats wrong: 'Printing function ' - opening a Word template with bookmarks ' - read bookmarks list from template and...
8
by: Frank Rizzo | last post by:
I am trying to print huge images (much bigger than target paper). I try and use e.PageSettings.HardMarginX and e.PageSettings.HardMarginY in the PrintDocument's PrintPage event to try and...
2
by: CC | last post by:
Hi: I've conjured up the idea of building a hex line editor as a first real Python programming exercise. To begin figuring out how to display a line of data as two-digit hex bytes, I created...
0
by: GiftX | last post by:
VB 6.0 And Spreadsheet - Printing problem Good morning West. After much research, I found this code. It scans the spreadsheet and returns up to the last used cell. ...
3
by: GiftX | last post by:
Good morning members. I am using VB6 to generate a spreadsheet. My module is working okay but one of my objectives is to print an underline after writing each record in the spreadsheet, just to show...
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
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
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...
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
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,...

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.