Web Design and Development Forums

Sequential Number on a Report

This is a discussion on "Sequential Number on a Report" within the MSSQL & Access section. This forum, and the thread "Sequential Number on a Report are both part of the Databases category.


Go Back   Webforumz.com > Databases > MSSQL & Access

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Nov 30th, 2007, 14:24   #1 (permalink)
New Member
 
Join Date: Nov 2007
Location: Boston
Posts: 3
Question Sequential Number on a Report

I want to display a sequential line number on a report. I have read the solution on other posts. It seems so simple. But... It doesn't work for me.
I inserted a text box, set control =1, running sum over all.
When I switch to Print Preview, I get a dialog box asking for parameter value of the text box - I just his enter - and it goes away - and my report shows up. The text box is displayed with a zero on all lines.
So...
The solution doesn't work for me. What am I doing wrong?
cbuccieri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Dec 1st, 2007, 17:21   #2 (permalink)
Up'n'Coming Member
 
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 97
Send a message via MSN to cocoonfx
Re: Sequential Number on a Report

Hello


I build reports daily so i am hoping to help you out. What are you using excel,access, business objects?

Are you wanting to add a unique number to every row? As your post is not too clear.
cocoonfx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Dec 1st, 2007, 22:19   #3 (permalink)
New Member
 
Join Date: Nov 2007
Location: Boston
Posts: 3
Re: Sequential Number on a Report

I am using Access 2000
I have a report where I display a list of items that are a result of a query.
I want to number the lines so that I have an easy way to reference the items.
ie. number 144 instead of page 6 line 4
cbuccieri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Dec 1st, 2007, 23:32   #4 (permalink)
Up'n'Coming Member
 
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 97
Send a message via MSN to cocoonfx
Re: Sequential Number on a Report

hello


Place a ID Number with an auto increment in the table of the main data. Make sure that the query has this this ID number and then it should automatically appear on your report.

I have attached a screen shot from Access 2007.
Attached Images
File Type: jpg ScreenShot132.jpg (4.8 KB, 11 views)
cocoonfx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Dec 1st, 2007, 23:58   #5 (permalink)
New Member
 
Join Date: Nov 2007
Location: Boston
Posts: 3
Re: Sequential Number on a Report

Hmm
This will give me a sequential number of the records, but this report os the result of a query and does not include all of the records in the table so there would be gaps in the numbers.
cbuccieri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Dec 3rd, 2007, 12:33   #6 (permalink)
Up'n'Coming Member
 
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 97
Send a message via MSN to cocoonfx
Re: Sequential Number on a Report

Yes this is true,


How ever if you copy the query and change it to a make table you then can add a column to the query called id and then make this auto increment. You then have a the query based on this table. You can also get a macro to automatically update the make table query so that the report query is upto date all the time.

So the logic will be


Make Table Query - based on the rules of your origin query but add at the start of a query an id field ( ID_Query)

Then this will create a new table then create change the table on the original query to this new table but adding in the ID_Query to the query.

Then that will give you what you want.
cocoonfx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Report Spam Received in your Private Messages Ed Webforumz Cafe 0 Feb 15th, 2008 14:03
Report Spam Received in your Private Messages Lchad Webforumz Cafe 0 Oct 1st, 2007 11:27
Report Spam Received in your Private Messages Lchad Announcements and News 0 Oct 1st, 2007 11:27
Opening a specific report by matching user input to report ame autoIT MSSQL & Access 2 Apr 26th, 2007 17:32



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 09:34.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59