Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi 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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 27th, 2008, 10:12 AM
mandl mandl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 mandl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 36 sec
Reputation Power: 0
Rave Report for Delphi

I am having a problem with a subtotal band in Rave Reports 6.0.1. I am using it with Delphi 2005 and MSSQL.

The problem:

My stored procedure totals amounts and creates a report for shortcodes such as: 11A, 11B, 11C, 12A, 12B, 12C, etc.

What I need to do is create a subtotal band for shortcodes 11, 12, etc.:

11A totals
11B totals
11C totals
-----------
11 group subtotals

12A totals
12B totals
-----------
12 group subtotals

I have tried setting the band GroupKey to Copy(shortcode, 1, 2) but that doesn't seem to work. I can't find any other function or command that appears to provide the GroupKey information that I need for this report. What is the correct function or syntax for the GroupKey that I need to use here?

Thank you for your assistance.

mandl

Reply With Quote
  #2  
Old April 30th, 2008, 08:29 AM
Darthroswell Darthroswell is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 1 Darthroswell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 40 sec
Reputation Power: 0
I have the same problem.

No one could help us ?

Thanks

Reply With Quote
  #3  
Old April 30th, 2008, 11:58 AM
clivew clivew is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 703 clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 16 h 44 m 49 sec
Reputation Power: 12
Quote:
I have tried setting the band GroupKey to Copy(shortcode, 1, 2) but that doesn't seem to work.

Instead of trying to do this in Rave,
add a column to your result dataset that does this and group on the new column.

Clive

Reply With Quote
  #4  
Old May 5th, 2008, 12:07 PM
mandl mandl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 mandl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 36 sec
Reputation Power: 0
Quote:
Originally Posted by clivew
Instead of trying to do this in Rave,
add a column to your result dataset that does this and group on the new column.

Clive


Yes. That got it. Thank you.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Rave Report for Delphi


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway