Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2003, 06:48 AM
Authorized User
 
Join Date: Jun 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Record number in Access Report

Can anyone suggest me an easy way for putting the Record Number (row number) in every row of Access report.

Thanks in advance
 
Old September 23rd, 2003, 07:35 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

How about creating an unbound textbox, and for its value set it equal to Me.CurrentRecord on the On Current event? I've never tried that. Let us know if it works or not.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old September 23rd, 2003, 07:49 AM
Authorized User
 
Join Date: Jun 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, Me.CurrentRecord did not work.

Niaz
 
Old September 23rd, 2003, 08:42 AM
tjw tjw is offline
Registered User
 
Join Date: Sep 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Create an unbound text box on your report. Open the properties of the unbound text box. Click on the Data Tab. Under Control Source enter: =1 and then Running Sum: Over All

This will number each row for you each time the report is run

Hope this helps

Regards

Tara

 
Old July 19th, 2005, 01:48 PM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


This worked great...thanks!:D

Quote:
quote:Originally posted by tjw
 Create an unbound text box on your report. Open the properties of the unbound text box. Click on the Data Tab. Under Control Source enter: =1 and then Running Sum: Over All

This will number each row for you each time the report is run

Hope this helps

Regards

Tara

__________________________________________
I think I have a memory problem...or do I?





Similar Threads
Thread Thread Starter Forum Replies Last Post
move to particular record number in recordset goodrags VB How-To 3 June 27th, 2006 09:11 PM
Current Record Number Base VB How-To 1 December 7th, 2005 05:26 PM
record number maximum Jorge SQL Server 2000 3 December 3rd, 2004 12:00 PM
variable number of fields in record manisha.anand Oracle 0 July 1st, 2004 05:00 PM
show the record number yami56 Access 9 April 5th, 2004 08:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.