Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 26th, 2004, 04:53 PM
nan nan is offline
Registered User
 
Join Date: Jun 2004
Location: , , .
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

Reply With Quote
  #2 (permalink)  
Old July 27th, 2004, 08:47 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
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.
Reply With Quote
  #3 (permalink)  
Old July 27th, 2004, 11:24 AM
nan nan is offline
Registered User
 
Join Date: Jun 2004
Location: , , .
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!


Reply With Quote
  #4 (permalink)  
Old July 31st, 2004, 01:56 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
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.
Reply With Quote
  #5 (permalink)  
Old September 3rd, 2004, 07:32 AM
Registered User
 
Join Date: Sep 2004
Location: , , .
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.