Results 1 to 2 of 2
  1. #1
    clarocque is offline Novice
    Windows 10 Office 365
    Join Date
    Jun 2023
    Posts
    1

    Question The more invoices I made, the slower the program is

    I don't know if I need to post the code for that because the code seems ok, the problem is at the first order of the day, the program is running fast, at the second order it takes 5 seconds more, at the 10th order it takes 30 seconds more and so on.
    It seems that the memory is not clearing or reset or something of that matter.

    How can I empty the memory after each order.

    Thanks



    Claude from Quebec, Canada

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    not enough information to advise., but so far as I am aware the only way to clear the memory is to close access.

    I doubt memory per se is the issue, more likely something to do with your code and/or design. Are tables normalised and properly indexed? are you making extensive use of domain functions? (you shouldn't). Is your code creating large in memory recordsets and/or arrays which are not being cleared down? or are larger than they need to be and need filtering? is your network slow?

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

Similar Threads

  1. Replies: 1
    Last Post: 02-11-2019, 08:54 PM
  2. Replies: 5
    Last Post: 10-14-2015, 10:45 AM
  3. Replies: 2
    Last Post: 03-20-2013, 06:52 AM
  4. incrementally slower routine -- vba
    By bill shockley in forum Access
    Replies: 2
    Last Post: 07-01-2012, 02:12 PM
  5. Database slower under Windows 7
    By krzycho23 in forum Access
    Replies: 5
    Last Post: 04-27-2012, 01:07 AM

Tags for this Thread

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