Results 1 to 6 of 6
  1. #1
    campanellisj is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    11

    Service to Cost by Quarter HELP!!!

    Thank you all in advance to whom ever can help me with this problem. I have been working on this DB for several weeks and this problem has stumped me.
    I have attached a copy of the database as it will be easier to see than just reading text.

    I have several tables and will attempt to explain:

    (TblsGarrisons) is a list of 15 garrisons
    (tblCommonLevelofSupport) is a list of 349 common services provided by each post. With each garrison providing each service. 349*15 = 5235 records
    (tblCost) is a table containing each cost catergory
    (tblYearList) contains the year value of 2010 and 2011
    (tblFiscalQuarter) is a breakdown of the year (2010 & 2011) into 4 Quarters

    All the other tables in the DB are fine and from what I can see have no bearing on the cost in anyway so I didn't list them.

    I have succesfully linked each garrison with each service (hence the 5235 records) but my problem is somehow connecting each of those cost into each quarter. I have succesfully broke each year (tblYearList) into four quarters (tblfiscalyear) and linked them, I just can't seem to get the middle piece to this puzzle

    This is difficult to explain; for instance: Ft. Bragg (tblgarrisons) provides service 8A (tblcommonlevelofsupport) what was his cost breakdown for each quarter for FY2010?



    I have tried everything but it al results in duplicating records or an increase in records etc... I know this is a bad example but it's the best I can do at the moment.

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    I have not looked at your zip.

    In regard to your example; "Ft. Bragg (tblgarrisons) provides service 8A (tblcommonlevelofsupport) what was his cost breakdown for each quarter for FY2010?"

    why is not the quarter cost simply .25 * the annual cost listed in tblCommonLevelofSupport ?

  3. #3
    campanellisj is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    11
    to answer your question... each garrison is given a different amount of money to use each year, per service, per region etc....
    If I just took .25 we would be assuming they have budgeted thier total into 4 eaqual parts and that is not the case. I need to know what they spent per quarter not how they broke up the total given.

    It's a wierd situation to explain, but my problem still resides that I can not link the cost by quarter by service by garrison

  4. #4
    evander is offline Competent Performer
    Windows 7 Access 2003
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    206
    Could you give us a spreadsheet layout of the report you want to achieve?
    I'm creating a sample DB right now and I'll be uploading it in a few minutes.

  5. #5
    evander is offline Competent Performer
    Windows 7 Access 2003
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    206
    I'm giving you a sample solution.
    Good luck.

  6. #6
    campanellisj is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    11
    the DB is attached to the first post.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 23
    Last Post: 06-30-2010, 02:05 PM
  2. Replies: 3
    Last Post: 06-23-2010, 07:33 AM
  3. Cost of a database
    By P5C768 in forum Access
    Replies: 1
    Last Post: 04-22-2010, 04:53 PM
  4. Sum bookings by quarter
    By kgav1 in forum Access
    Replies: 3
    Last Post: 04-14-2010, 08:15 PM
  5. Replies: 4
    Last Post: 07-16-2009, 02:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums