New topic: 

[RESOLVED] Any issues with Real Reports category grouping?

<http://forums.realsoftware.com/viewtopic.php?t=46591>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        rhartz          Post subject: [RESOLVED] Any issues with Real 
Reports category grouping?Posted: Thu Jan 17, 2013 10:48 am                     
    
Joined: Mon Feb 20, 2012 3:16 pm
Posts: 83                Hi.  I am stuck on making groupng sections in the RB 
Reports.  I followed the database example built into RB and also the tutorial 
by BKeeney very closely, but my report is not grouping.  I'm trying to make an 
expense report with categories grouped by ExpenseType (postage, advertising, 
etc).  There is an field with ExpenseType as the Data Field in Group Header 1, 
and fields for date, amount, and description in the Body, but when the report 
runs, the data is not subgrouped into the different types.  Just one type is 
listed at the top and all the expense data is listed below.

There's nothing special needed for the SQL statement, right?  Here's mine
sql = "SELECT * FROM expenses WHERE YearName = '" + 
ReportScreen.txtCustomYear.Text + "' ORDER BY ExpenseType"

What am I doing wrong?     

    Last edited by rhartz on Thu Jan 17, 2013 4:16 pm, edited 1 time in total.  
 
                             Top                rhartz          Post subject: 
Re: Is there an issues with Real Reports category grouping?Posted: Thu Jan 17, 
2013 4:15 pm                         
Joined: Mon Feb 20, 2012 3:16 pm
Posts: 83                I figured this out.  For anyone else who is having 
this issue with grouping, you need to select the GroupHeader on the far left 
side until it turns blue, then change the GroupByField property to the field.  
I was just adding the field to be grouped inside the header, assuming that was 
sufficient   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to