R
rodimius
I have a button on a subform that when pressed updates a record, then
inserts a record.
I have used CurrentDb.execute for this.
Now as far as I was aware this was working fine, and I was working on
other things in the database, but when I came to enter some new details
I found that access was crashing with the 0xc0000005 error code.
The strange thing is, when I set a breakpoint in the code and step
through the problem area, the error doesn't happen and everything
happens as it should.
Could anyone shed any light on this?
I have tried decompiling but I'm not sure if I did it correctly as
nothing changed.
inserts a record.
I have used CurrentDb.execute for this.
Now as far as I was aware this was working fine, and I was working on
other things in the database, but when I came to enter some new details
I found that access was crashing with the 0xc0000005 error code.
The strange thing is, when I set a breakpoint in the code and step
through the problem area, the error doesn't happen and everything
happens as it should.
Could anyone shed any light on this?
I have tried decompiling but I'm not sure if I did it correctly as
nothing changed.