473,484 Members | 1,777 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

record numbers in report

56 New Member
Hi all,
is it possible to display the record numbers in report.
please help me out

regards,
vsts
Nov 5 '07 #1
15 3153
MikeTheBike
639 Recognized Expert Contributor
Hi all,
is it possible to display the record numbers in report.
please help me out

regards,
vsts
Hi

Try putting a TextBox in the Report footer with a Control Source =Count([AnyFieldName])

??

MTB
Nov 5 '07 #2
vsts2007
56 New Member
Hi
thank you for your support... i want display the serial numbers of all records in report but not the total of record numbers
thank you
Nov 6 '07 #3
MikeTheBike
639 Recognized Expert Contributor
Hi
thank you for your support... i want display the serial numbers of all records in report but not the total of record numbers
thank you
Sorry, my mistake. I should read the question more closely.

Do you mean you want line numbers ?

If so then I suggest adding a field to the Record Source query Like

Line No: 1

and on the report display this field in a TextBox with the Running Sum property (on the Data Tab) set appropriately (ie. not No).

If that is not what you want then a little more info please!

MTB
Nov 6 '07 #4
vsts2007
56 New Member
Yes, I want line numbers only
but i am not getting it
can you explain me in detail please

vsts


Sorry, my mistake. I should read the question more closely.

Do you mean you want line numbers ?

If so then I suggest adding a field to the Record Source query Like

Line No: 1

and on the report display this field in a TextBox with the Running Sum property (on the Data Tab) set appropriately (ie. not No).

If that is not what you want then a little more info please!

MTB
Nov 7 '07 #5
MikeTheBike
639 Recognized Expert Contributor
Yes, I want line numbers only
but i am not getting it
can you explain me in detail please

vsts
OK, one step at a time; two questions

What is the Record Source of the report ?

And what don't you understand ?


MTB
Nov 7 '07 #6
vsts2007
56 New Member
Its related to salaries of the employees ... after entering the data in all fields i have to send one report to bank with all the net salaries of employees... the format is like this:
S.No. emloyee name bank number netpay


I need this s. no, column in report


OK, one step at a time; two questions

What is the Record Source of the report ?

And what don't you understand ?


MTB
Nov 7 '07 #7
MikeTheBike
639 Recognized Expert Contributor
Its related to salaries of the employees ... after entering the data in all fields i have to send one report to bank with all the net salaries of employees... the format is like this:
S.No. emloyee name bank number netpay


I need this s. no, column in report
Sorry if I am labouring the point, but it is important to know precisely what we are dealing with.

What is ‘SNo.’, is it data in the database related to the employee or just a line number that will always start at 1 ?

If ‘S.No.’ is employee data then report Record Source could be

Expand|Select|Wrap|Line Numbers
  1. SELECT 1 as LineNo, [SNo], [Employee Name], [Bank Number], [NetPay] FROM YourTableOrQuery
Then set the control with LineNo as the Control Source to RunningSum= Over All


If ‘S.No.’ is the line number then Record Source would/could be

Expand|Select|Wrap|Line Numbers
  1. SELECT [SNo], [Employee Name], [Bank Number], [NetPay] FROM YourTableOrQuery
with SNo as the Control Source to SummingSum= Over All


MTB
Nov 7 '07 #8
vsts2007
56 New Member
"S no." is the record number
i want to display the record numbers as serial number of that line
Nov 8 '07 #9
MikeTheBike
639 Recognized Expert Contributor
"S no." is the record number
i want to display the record numbers as serial number of that line
So,

what type of field is S.No.; number, integer ?
how is it entered; Autonumber, random, sequential ?

I am not sure that S.No. (with the full stops) is a valid field name !!

MTB
Nov 8 '07 #10
vsts2007
56 New Member
[its record number ... it must be an autonumber only
Nov 8 '07 #11
MikeTheBike
639 Recognized Expert Contributor
[its record number ... it must be an autonumber only
An autonumber field cannot be guaranteed to be sequential.

If that is the field you want to display, then I do not know want the problem (question) is !!

MTB
Nov 8 '07 #12
geekspeak
1 New Member
This is actually pretty easy in Access 2000/2003. In the report, create a unbound field, in the Detail area of the report. In the properties go to Other tab, type in RowCounter in the "Name". Flip back to the Data tab - in the "Control Source" put =+1 and in the "Running Sum" change to Over All. Preview the report - voila - numbered rows. Hope this does what you need.
Nov 20 '07 #13
vsts2007
56 New Member
thank you very much its working
Nov 21 '07 #14
MikeTheBike
639 Recognized Expert Contributor
Well, you learn somthing new every day!

MTB
Nov 21 '07 #15
Jim Doherty
897 Recognized Expert Contributor
This is actually pretty easy in Access 2000/2003. In the report, create a unbound field, in the Detail area of the report. In the properties go to Other tab, type in RowCounter in the "Name". Flip back to the Data tab - in the "Control Source" put =+1 and in the "Running Sum" change to Over All. Preview the report - voila - numbered rows. Hope this does what you need.

and even easier without running sum
using an unbound textbox in detail section set its controlsource to =[CurrentRecord]

Jim
Nov 21 '07 #16

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

Similar topics

8
7070
by: mark | last post by:
Access2000 How do I write a query that combines the CTC field from each record below into one record? I need to concatenate the CTC field with a separator, like below: ...
1
8806
by: Tony | last post by:
I have a form in access that has 5 fields for a certain record: 1)Date mailed, 2)Date received, 3)Date completed 4)Foreign Content amount and 5)record number. If the foreign content (FC)is >15% of...
4
5343
by: sherkozmo | last post by:
SQL2000 - AccessXP I built an adp file with a stored procedure from SQL as follows: SELECT * FROM Z_mis_sjk_job_code_access WHERE job_code=@JobCode UNION ALL SELECT * FROM...
1
17766
by: systems analyst | last post by:
This is my modification on an original solution posted by Trevor Best (trevor@microprism.com) back in 1996. Insert the following code in a Module in your Access data base. Option Compare...
2
2942
by: Will | last post by:
I have a 1 page report which I want to print numerous copies of. The number of copies will be specified by the user. My problem is that I want each report to print the copy number of number of...
3
6362
by: Chuck | last post by:
Hi, I have a somewhat unique problem (at least unique to me, and I've been doing this for longer than I care to admit). I have a client that needs to print cards onto perforated card stock (so...
1
2664
by: kkrizl | last post by:
I have a form that displays general information about an alarm permit location. There's a subform that shows detailed information about burglar alarms that have gone off at the location. When a...
9
1619
by: MLH | last post by:
I have a source query (qryITSLetterList) feeding rows containing name, addr, city, state, zip and VehicleID to a report (rptITSnotices). The query may contain 1-to-5 records resulting in 1-to-5...
0
1110
by: kaosyeti | last post by:
hey... i have a form who's recordsource is a 3-field table. this form prompts the user to enter a quarter and a year (which it then turns into a date in an invisible control -- this control is...
0
7078
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
6945
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
5400
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,...
1
4835
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4524
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
3035
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1350
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
584
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
228
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...

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.