mibuso.com

Microsoft Business Solutions online community
It is currently Wed Jun 19, 2013 4:32 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Turn on/off grouping in report?>
PostPosted: Fri May 11, 2012 5:09 pm 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
Is it possible to turn on and off GroupTotalFields based on the options when a report is run???


Top
 Profile E-mail  
 
 Post subject: Re: Turn on/off grouping in report?>
PostPosted: Fri May 11, 2012 5:33 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Fri Feb 03, 2006 10:15 pm
Posts: 2273
Location: Houston, TX
Country: United States (us)
I don't think so. You essentially have to have different data items that have different groupings and choose the appropriate one to process based on the selection.

_________________
Matt Traxinger - ArcherPoint
Microsoft Dynamics NAV 2009 Programming Cookbook
Do you have an idea to improve NAV? Submit it at I Love NAV


Top
 Profile  
 
 Post subject: Re: Turn on/off grouping in report?>
PostPosted: Fri May 11, 2012 5:40 pm 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
awwww mann...thats gonna be so much extra work....

I guess I will start working on it then. :(

Thanks for the prompt reply. :D


Top
 Profile E-mail  
 
 Post subject: Re: Turn on/off grouping in report?>
PostPosted: Fri May 11, 2012 8:02 pm 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
I have to modify a report for a client. The name of the report is Aged Account Receivables. User wants the option to group the report according the Posting Group and Regions. I was successful in doing it for posting groups by using GroupTotalField on the Customer Dataitem. Now I was thinking how to group using region on the Customer dataitem. I am not really sure how to go about doing this since the customer dataitem: GroupTotalfield has already been used to group posting groups.

I am not sure if this would work or not but i was going to create a boolean called "Sort according to Regions" and put it in the options tab and if the user checks it off, and clicks preview it runs a another report in the background with the same dataitems (with slight modifications to code and keep the same layout so the user wont be able to tell that its a different report, but i will have the ability to set the grouptotal field in the customer dataitem to region). I am not sure even if this is plausable.

Any ideas how I can do this?


Top
 Profile E-mail  
 
 Post subject: Re: Turn on/off grouping in report?>
PostPosted: Fri May 11, 2012 8:05 pm 
Offline

Joined: Sat Jan 28, 2012 4:48 pm
Posts: 56
Country: Netherlands (nl)
Put both fields in the grouptotalfields but set different keys and header/footer sections based on the options tab


Top
 Profile  
 
 Post subject: Re: Turn on/off grouping in report?>
PostPosted: Fri May 11, 2012 8:27 pm 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
BernardJ wrote:
Put both fields in the grouptotalfields but set different keys and header/footer sections based on the options tab


Thanks. Let me give that a shot. 8)


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot], Savatage and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: