Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 February 3rd, 2005, 06:21 AM
Authorized User
 
Join Date: Nov 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default sr. no in crystal report

how do i restart the numbering of the record number special field on change of group

i mean when a new group is shown i want the sr no to start from 1 again and not the record count

pls advice..
suneeta
__________________
.Net developer
 
Old March 17th, 2005, 12:26 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

hi

i also had the same prob
create a dummy Field in ur view (from which u r creating ur report).
e.g.,Select <field list>..., 1 as DummyRecordNo From TableName

then in ur report create a Running Total (SUM) on the DummyRecordNo and Reset it on change of group

i hope it will help :-)


 
Old April 12th, 2005, 01:54 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ,

I had the same problem. In cristal report goto "Run Time Totals" (under Insert>Field Objects). Create a new running total field (Eg. SeqNo). Take a field from left pannel (ie.Available Tables and Fields) then choose "Count" in type of summery. then select "On Change of Group" and select the appropriate group which you have already craeted. Use this field as the Sequence field which changes on the change of particular group.

Channa - Sri Lanka






Similar Threads
Thread Thread Starter Forum Replies Last Post
simple report and crystal report in vb.net saket123 .NET Framework 2.0 0 August 13th, 2008 06:55 AM
Crystal Report sanjivbshinde Beginning VB 6 2 May 7th, 2008 01:58 AM
VS 2002 Crystal Report opens Seagate crystal 8 tusis_1 Crystal Reports 0 May 12th, 2007 11:45 AM
Error While printing report (Crystal report) vikaspaweb Pro VB 6 0 March 8th, 2004 09:53 AM





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