Results 1 to 7 of 7
  1. #1
    dslatten is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    5

    Summing in Access 2013 web app

    I have created a database that is hosted on our company sharepoint. The database contains subcontracts with resource information by geographic location and status. I have built queries and added them as reports to the web app but I need to figure out a way to sum totals on the queries. For example, one report lists all resources of a particular type by 4 different zones and 3 different status. I need to have the bottom row show the total resources. (See picture below). Any help would be greatly appreciated.



    Click image for larger version. 

Name:	Capture.JPG 
Views:	4 
Size:	50.3 KB 
ID:	20577
    Attached Thumbnails Attached Thumbnails Capture.JPG  
    Last edited by dslatten; 05-05-2015 at 02:48 PM.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    Is this a crosstab query?

    Is the Totals button available on ribbon for web db when query is in datasheet view?

    Or are these report objects? Can you put textbox in report footer with expression: =Sum([Type II ALS Ground Ambulance])
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    dslatten is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    5
    The queries and reports are built a bit different for web apps. I can create a query just a i could in the regular desktop version. So that's what i've done-with the totals button. But then, the report is built based off of that query with limited capabilities. There is really no flexibility with the actual report design so all calculations should be done in the query. So I suppose my question is how to sum each column in the query, if at all.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    Only other approach I can think of is to build an aggregate query and then a UNION query that merges the detailed dataset with the aggregate query. Apply sort order so the 'Totals' record is at bottom.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    dslatten is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    5
    Ok, I will research that and give it a try. Thanks.

  6. #6
    dslatten is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    5
    Nope, there isn't an option to build a union query with the Access App. Very limited. Was hoping there was some way to do it with macro or expressions?

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    If there is no SQL view of query builder in web db, think you are out of luck.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Export From Access 2013 To Excel 2013
    By Esmatullaharifi in forum Programming
    Replies: 8
    Last Post: 04-17-2015, 09:40 PM
  2. Replies: 2
    Last Post: 04-07-2014, 10:01 AM
  3. Outlook 2013 + Access 2013 + HTML
    By Yann63 in forum Programming
    Replies: 2
    Last Post: 11-26-2013, 02:39 PM
  4. Summing Multiple Queries & Summing Time
    By WEJ in forum Queries
    Replies: 2
    Last Post: 10-04-2013, 04:46 PM
  5. Access 2013 Web App with Sharepoint 2013
    By miguel.escobar in forum Access
    Replies: 7
    Last Post: 06-17-2013, 09:03 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