Results 1 to 2 of 2
  1. #1
    gangel is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    194

    displaying sum on form (dsum) taking long to load

    Hey everyone,

    So im 80% done on my big access project for my business and im trying to make some things better from when i first made them!

    Currently i have my total outstanding invoices ($) displayed on one of my main forms when i open it.

    Originally:
    I used a subform based on a query which was had SumOfInvoiceValue
    This took about 5 seconds to load and would sometimes produce an error (which i finally fixed but found Option 2 at same time)

    Option 2:
    Got rid of the subform based on a query and just used Dsum to get the sum of invoice value.

    This takes about... 1.5-2 seconds to load the values.


    What do i do to make this faster?? Or what am i doing wrong...


    It is a basic principle, but obviously im going about it the wrong way! :S

    Any help would be great~!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    You dont need DSUM (slow)

    in the subform footer, just use SUM
    set the textbox = SUM([field])

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

Similar Threads

  1. Query taking too long, suggestions?
    By theperson in forum Queries
    Replies: 11
    Last Post: 05-29-2013, 10:17 AM
  2. Replies: 19
    Last Post: 11-01-2012, 08:03 AM
  3. Replies: 10
    Last Post: 04-17-2012, 10:29 AM
  4. Replies: 3
    Last Post: 10-13-2011, 02:27 PM
  5. Replies: 1
    Last Post: 02-16-2011, 11:40 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