Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

memory management in vba

Status
Not open for further replies.

OhioSteve

MIS
Mar 12, 2002
1,352
US
I have a vba function that triggers a sequence of dozens of sql statements. These statements each effect hundreds of thousands of records. I am running it on a pc devoted solely to this application. The PC has about 1gb of memory.

The function DOES run. It takes about three hours to finish. However, while it runs Access does not display forms properly. For example, it cannot repaint a form if you change it. And if you interact with Access too much, the function crashes.

It would be fine with me if the function took longer to run. However, I DO want it to be more stability. Can I somehow tell Access not to devote every atom of memory to this task, and to take longer to complete it??
 
If you post your code we'll probably be able to provide more specific answers.

Also can you confirm what makes you think the function crashes? Do you get an error message?

Ed Metcalfe.

Please do not feed the trolls.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top