J
JES100
I have a system that sends 1 rec of data to access once an hour and once a day using ODBC.
The system also prints a report once an hour and day using VB script (DoCmd.OpenReport).
The system locks up about every 5 days so I ran the performance monitor and discovered that it runs out of memory.
Every hour when the report prints, a small chunk of memory is lost. I went thru my code and all my objects are destroyed (set to Nothing). I commented out the one line that does the printing (OpenReport command) and everything worked fine. no memory lost. Anybody know why the OpenReport command may be eating memory? Is ther another way to print Access reports through VB?
The system also prints a report once an hour and day using VB script (DoCmd.OpenReport).
The system locks up about every 5 days so I ran the performance monitor and discovered that it runs out of memory.
Every hour when the report prints, a small chunk of memory is lost. I went thru my code and all my objects are destroyed (set to Nothing). I commented out the one line that does the printing (OpenReport command) and everything worked fine. no memory lost. Anybody know why the OpenReport command may be eating memory? Is ther another way to print Access reports through VB?