Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 29th, 2004, 08:24 PM
Rishyraj Rishyraj is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 53 Rishyraj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 29 m
Reputation Power: 4
cross tab query

Hi Iwells,

Happy thanks giving to you. Nice to see you back.

I am making a report which has an estimated close date. I had made a cross tab query, using loan amount as value and estimated close date as column heading which gives me the month order in the horizontal way.

For example.... December 2004 January 2004 Febraury 2004 >90 days.

If you look at the above example.. from current date to next three months i want the amount to be displayed monthwise but after three months i want all to be added to be put under the column heading called >90 days. Is there a way to do this using cross tab query.

Thank you

Rishy

Reply With Quote
  #2  
Old November 29th, 2004, 10:48 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 4
Hi Rishy,

Can you clarify your statement just a little, You want the total of ALL amounts in the >90 days column, or just those amounts that are greater than 90 days excluding the amounts already shown in the 30,60,90 day columns? I feel pretty sure that is what you wanted. Using a crosstab query, you can get the amounts for each of the specified dates and you can get an overall total of all amounts, but if you wanted to subtract the amounts in the 30,60,90 day columns from the overall totals, you won't be able to do that with a crosstab query.

What you can do is use a select query, using the sum function for each of the 30,60,90 days and then use another expression to subtract the totals of those three columns from the overall total to get the remaining amounts to display under a column of >90. Using this method, you would get a similar view (i.e. fields for the 30,60,90 & >90) as you would with the crosstab query for your report.

If you like, you can send me your table, query and report and I will be happy to construct the query to make the totals display on your report like you want.

lwells

Reply With Quote
  #3  
Old November 30th, 2004, 08:57 AM
Rishyraj Rishyraj is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 53 Rishyraj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 29 m
Reputation Power: 4
Hi Iwells,


just those amounts that are greater than 90 days excluding the amounts already shown in the 30,60,90 day columns. The main purpose is to fit the columns in one page and moreover not to worry about the amounts which are due after 90 days.

Thanks

Rishy

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > cross tab query


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