Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 26th, 2012, 09:39 PM
Fali Sheru Fali Sheru is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 1 Fali Sheru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 21 sec
Reputation Power: 0
Question Create Row Numbering and Page by group in Data Report

Hi,
I have an data report(vb6) where I have grouped by Journal_No, Address and Description. I will like to create row number and page by the grouping.

In group header, I am using Current Page Number and Total Number of Pages. For now, if I have selected 5 Journal_No which prints 1 report each. It shows page 1 of 5 instead of 1 of 1 for each Journal_No.

And also for row number, for example if Journal_No 1 have 3 row of results in it. and Journal_No 2 have 3 row of results in it. How to make it print 1,2,3 for Journal_No 1 and restart the numbering as 1,2,3 for Journal_No 2?

As of now, I'm using select row_number() at the query which prints the row as 1,2,3,4,5 and 6, which is completely wrong.

I couldn't use function in detail and also group header.

Help is much appreciated. Thanks in advance.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Create Row Numbering and Page by group in Data Report

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap