D
dbguru316
I have a form that contains order details and I run through a loop that
applies a filter to the form (only view one order at a time), and then
removes the filter, applies a different filter (next order) and then removes
it etc.
After about 300 times, I get a message stating "not enough memory..." This
is fairly consistent and have narrowed it down to being a MS Access issue (as
opposed to a hardware issue). I have reduced the number of times the looping
macro runs to 100, and finishes successfully (without the memory error), but
renders the keyboard useless for changing any MS Access objects, but the
keyboard is functioning if I switch to another applicaition like MS Excel.
When the memory error occurs the macro is halted, and the form is corrupt -
I can no longer access it or view it in design view. Repair and compact
function does not repair the form.
Any ideas on why this is happening?
applies a filter to the form (only view one order at a time), and then
removes the filter, applies a different filter (next order) and then removes
it etc.
After about 300 times, I get a message stating "not enough memory..." This
is fairly consistent and have narrowed it down to being a MS Access issue (as
opposed to a hardware issue). I have reduced the number of times the looping
macro runs to 100, and finishes successfully (without the memory error), but
renders the keyboard useless for changing any MS Access objects, but the
keyboard is functioning if I switch to another applicaition like MS Excel.
When the memory error occurs the macro is halted, and the form is corrupt -
I can no longer access it or view it in design view. Repair and compact
function does not repair the form.
Any ideas on why this is happening?