How do I code (ESC) to abandon record

  • Thread starter Thread starter Patrick Graham
  • Start date Start date
P

Patrick Graham

You can hit ESC to back out of entering a record

How do I code that same result?
 
From what I can find I figured Undo when applied to a
form but I cant get it to function right on a sub form.
Whats wrong with this bit of code.

[Forms]![frmDataInput]![subAccount].Undo
 
have you tried

[Forms]![frmDataInput]![subAccount].Form.Undo

-----Original Message-----
From what I can find I figured Undo when applied to a
form but I cant get it to function right on a sub form.
Whats wrong with this bit of code.

[Forms]![frmDataInput]![subAccount].Undo
-----Original Message-----
You can hit ESC to back out of entering a record

How do I code that same result?
.
.
 
Bingo... knew it was a syntax problem but for some reason
I thought that wouldnt be right... but it is, thanks.
-----Original Message-----
have you tried

[Forms]![frmDataInput]![subAccount].Form.Undo

-----Original Message-----
From what I can find I figured Undo when applied to a
form but I cant get it to function right on a sub form.
Whats wrong with this bit of code.

[Forms]![frmDataInput]![subAccount].Undo
-----Original Message-----
You can hit ESC to back out of entering a record

How do I code that same result?
.
.
.
 
Back
Top