B
Bingo
As an old-time database programmer, maybe I'm making some
presumptions that I shouldn't, but...
In my application, I have 'new' button to add a record. Underneath,
I'm doing "addnew." I want to be able to cancel the new record if the
use changes their mind. If I do a "me.recordset.delete" I get a "No
current record" message. But it still looks like it exists to me, at
least in the form. The mouse wheel is also causing an insert if I
scroll past the bottom, which is annoying.
This is also triggering a "beforeInsert" event. It shouldn't.
The main question is: How do I abort an insert and know that it is
(or would have been) a new record?
Currently, I'm using Jet, which seems fairly restrictive, but it's
what I'm stuck with.
TIA!
presumptions that I shouldn't, but...
In my application, I have 'new' button to add a record. Underneath,
I'm doing "addnew." I want to be able to cancel the new record if the
use changes their mind. If I do a "me.recordset.delete" I get a "No
current record" message. But it still looks like it exists to me, at
least in the form. The mouse wheel is also causing an insert if I
scroll past the bottom, which is annoying.
This is also triggering a "beforeInsert" event. It shouldn't.
The main question is: How do I abort an insert and know that it is
(or would have been) a new record?
Currently, I'm using Jet, which seems fairly restrictive, but it's
what I'm stuck with.
TIA!