Recent content by fvdb

  1. F

    Slow report creating after x reports

    I investigated all the options and the problem is that the report creation (docmd.outputto or docmd.openreport and then printout as PDF with pdfcreator or docmd.sendobject) keeps the reports in the memory. All the rest of the recordsets,... are closed. Now my DB keeps running at 20Mb memory...
  2. F

    Slow report creating after x reports

    i solved the issue to make seperate DB with the mail function. The call this function from the Main DB en after close the seperate DB, this clean the memory after each report. Tried many things the last 3 days and this is the only things what works.
  3. F

    Slow report creating after x reports

    Thanks for the reply, tried it but bad luck :(
  4. F

    Slow report creating after x reports

    tried with pdf creator and no succes,this proofs the reports keep staying in the memory
  5. F

    Slow report creating after x reports

    I added the doevents I changed to subs i commented out the email, speeds ups, commented out int the email sub the docmd.outputto line and speeds ups. commented out also docmd.openreport doesnt change Seems the docmd.outputto uses the memory but don't free it after the job Somebody some tricks...
  6. F

    Slow report creating after x reports

    The code works butt it start to get slow after 15 reports and access use a lot of memory, when the memory goes up to 720 Mb then i get error messages like error 91 I learn a lot of myself with the help of this forum but this one i working last full week on it because the amount of reports...
  7. F

    Slow report creating after x reports

    Every night i create a batch reports and send them with email to people. The first reports go quickly but then memory usage of acces keep growing and then start to get slowly. I Think i close every recorset that i use but still keep getting slow. The reports have a chart inside so maybe thats...
  8. F

    Query Help

    Docmd.setwarnings false will disable them all. Put it in the OnLoad Event of the mainform you open when you start the DB See here more about relationships. It's more important for keeping the data right in your DB (Duplicate Data, Orphan records, ...)...
  9. F

    Query Help

    Some problems with your JOINS, you only had one-to-one JOINS and therefore it only shows records if it has data in other linked tables. I changed qryMainClients and now have more results. You really should set up some relations for your tables PS: If you not want the warnings that you add a...
  10. F

    Query Help

    Can you upload a stripped down version of your DB?
  11. F

    Query Help

    Give a look at the NZ function. This will transfrom null values to 0 (or to the one wich is defined)
  12. F

    Number of days to go and past days in a month

    Explain more wath your formula have to do. Also to calculate how much day left you need some date wich i not see in formula.
  13. F

    Yet another issue with LIKE OR IS NULL

    At the end it worked and that's what we need. I'm also not a complicated coder a find a way to get somethings worked with more querys, espicially if i need a Max or one of that kinds one. ;) SQL is not my thing so try to solve with queries ...
  14. F

    Yet another issue with LIKE OR IS NULL

    Think there is a joining problem then because i have some querys with 3/4 tables and not have any issues about it. How the query reacts when you put yourself the criteria in?
  15. F

    Number of days to go and past days in a month

    hope this helps, yes its VBA but just want to show you the DateSerial tool i use in my queries where i have to update a date depending on the conditions datum = DLookup("datum", "tabel1") Debug.Print datum endofmonth = DateSerial(Year(datum), Month(datum) + 1, 0) Debug.Print endofmonth...
Top Bottom