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 July 26th, 2004, 04:53 PM
nan nan is offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to select every N row in CR

Hi
 is every know a good way to select/display every N row in CR9.
thanks

 
Old July 27th, 2004, 08:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

excuse me but I didnt get ur every N row means?!

Always:),
Hovik Melkomian.
 
Old July 27th, 2004, 11:24 AM
nan nan is offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
 Sorry, didn¡¯t make myself clear.
We have a project to build a web based CR reporting tool (VB.Net and CR9). We are using the ¡°Pull method¡± which means the data will retrieved by CR9 but not VB.net code.
Our database is based on time which collects rows for every minute. However, we hope that CR can display date for every ¡°N¡± rows (such as, for every 5, 10, 30 minutes). The ¡°N¡± will be a parameter field which passed in from VB.NET.
Is there good way to do that in CR?
Thanks!


 
Old July 31st, 2004, 01:56 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Still I didnt get but make ur SELECT (SP recomended) & then set ur parameter & get ur wished data to display & ...

HTH.


Always:),
Hovik Melkomian.
 
Old September 3rd, 2004, 07:32 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to purnachandrarao
Default

hi
friend
here is a query for ur reply
try to execute this u definitley get the solution

SELECT *
FROM emp
WHERE (ROWID,0) IN (SELECT ROWID, MOD(ROWNUM,&rownumber)
                        FROM emp)


Note : where rownum is the number of the row u want to select






Similar Threads
Thread Thread Starter Forum Replies Last Post
Select row in GridView WITHOUT using Select button rao965 ASP.NET 2.0 Professional 1 February 15th, 2008 10:44 AM
Macro script to select a row acgunn Excel VBA 1 July 27th, 2006 04:13 PM
Select row number N 1kHz SQL Language 4 December 27th, 2004 06:22 AM
SELECT COUNT as a ROW?? t0ny SQL Language 3 December 8th, 2004 05:31 AM
select id from row in array mikeuk PHP Databases 2 July 19th, 2004 11:00 AM





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